Add PAT to OpenAPI workflow checkout (#25819)
This commit is contained in:
3
.github/workflows/openapi-decorate.yml
vendored
3
.github/workflows/openapi-decorate.yml
vendored
@@ -37,6 +37,9 @@ jobs:
|
||||
# so we need to specify the PR head ref explicitly since we're making
|
||||
# changes that we want to commit to the branch.
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
# Using a PAT is necessary so that the new commit will trigger the
|
||||
# CI in the PR. (Events from GITHUB_TOKEN don't trigger new workflows.)
|
||||
token: ${{ secrets.DOCUBOT_REPO_PAT }}
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561
|
||||
|
||||
Reference in New Issue
Block a user