From 3ce8702e5dc2bc94d856083ba4bb84ed733a5ab9 Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Fri, 4 Mar 2022 11:56:51 +1000 Subject: [PATCH] Add PAT to OpenAPI workflow checkout (#25819) --- .github/workflows/openapi-decorate.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/openapi-decorate.yml b/.github/workflows/openapi-decorate.yml index 72432ee3c0..b0412c95b0 100644 --- a/.github/workflows/openapi-decorate.yml +++ b/.github/workflows/openapi-decorate.yml @@ -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