Skip to content

Commit 3ce8702

Browse files
authored
Add PAT to OpenAPI workflow checkout (github#25819)
1 parent 862aca9 commit 3ce8702

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/openapi-decorate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
# so we need to specify the PR head ref explicitly since we're making
3838
# changes that we want to commit to the branch.
3939
ref: ${{ github.event.pull_request.head.ref }}
40+
# Using a PAT is necessary so that the new commit will trigger the
41+
# CI in the PR. (Events from GITHUB_TOKEN don't trigger new workflows.)
42+
token: ${{ secrets.DOCUBOT_REPO_PAT }}
4043

4144
- name: Setup node
4245
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561

0 commit comments

Comments
 (0)