1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Add PAT to OpenAPI workflow checkout (#25819)

This commit is contained in:
Lucas Costi
2022-03-04 11:56:51 +10:00
committed by GitHub
parent 862aca9368
commit 3ce8702e5d

View File

@@ -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