Skip to content

Commit da5f09f

Browse files
authored
Changelog agentic workflow bugfix (#61154)
1 parent d0b2b5f commit da5f09f

2 files changed

Lines changed: 18 additions & 21 deletions

File tree

.github/workflows/changelog-agent.lock.yml

Lines changed: 17 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/changelog-agent.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ on:
3232
DOCS_BOT_PAT: ${{ secrets.DOCS_BOT_PAT_BASE }}
3333
with:
3434
script: |
35-
// Default octokit uses github.token for in-repo (docs-internal) calls
36-
const octokit = github;
35+
// octokit (provided by github-script) uses github.token for in-repo (docs-internal) calls
3736
// Cross-repo octokit uses DOCS_BOT_PAT for docs-content and GraphQL calls
3837
const crossRepoOctokit = github.getOctokit(process.env.DOCS_BOT_PAT);
3938

0 commit comments

Comments
 (0)