Skip to content

Commit 6af02a0

Browse files
committed
Use a repo scoped token for opening the automated PR
According to peter-evans/create-pull-request#48 (comment), that should result in the CI to actually run.
1 parent 6ecc0e9 commit 6af02a0

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

.github/workflows/update-deployment-branches.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,10 @@ jobs:
7777
uses: vsoch/pull-request-action@master
7878
id: create-pr
7979
env:
80-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
80+
GITHUB_TOKEN: ${{ secrets.CHECKOUT_TOKEN }}
8181
PULL_REQUEST_FROM_BRANCH: ${{ env.BRANCH_NAME }}
8282
PULL_REQUEST_BRANCH: ${{ env.DEPLOYMENT_BRANCH_NAME }}
8383
PULL_REQUEST_TITLE: "🤖: Update build recipes for ${{ env.OS_VERSION_PRETTY }}"
8484
PULL_REQUEST_UPDATE: 1
8585
PULL_REQUEST_REVIEWERS: "fcrozat vmoutoussamy dirkmueller"
8686
if: env.no_change != 'true'
87-
88-
# see https://github.com/vsoch/pull-request-action/issues/30 for context
89-
- name: Close and reopen the PR to trigger github actions
90-
uses: dogmatic69/actions/automations/pr-toggle@master
91-
env:
92-
PULL_REQUEST_NUMBER: |
93-
${{ steps.create-pr.outputs.pull_request_number }}
94-
GITHUB_TOKEN: '${{ secrets.PAT }}'

0 commit comments

Comments
 (0)