Skip to content

Commit

Permalink
Merge pull request #3574 from ingef/fix/trigger-actions-on-mr-commit
Browse files Browse the repository at this point in the history
fix subsequent actions on automated PR
  • Loading branch information
thoniTUB authored Sep 25, 2024
2 parents b6d1361 + 1378652 commit d536156
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/reintegrate-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
timeout-minutes: 3
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
submodules: true
- name: Configure git
run: |
Expand All @@ -38,11 +39,13 @@ jobs:
--head $REINTEGRATE_BRANCH_NAME
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Modify the request in the scope of a PAT (an actual user).
# This should allow to trigger subsequent actions with the merge commit.
- name: Modify pull request
run: >
gh pr merge
--merge
--auto
--delete-branch
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}

0 comments on commit d536156

Please sign in to comment.