File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 update-victron-mqtt :
1414 runs-on : ubuntu-latest
1515 steps :
16+ - name : Generate GitHub App token
17+ id : app-token
18+ uses : actions/create-github-app-token@v2
19+ with :
20+ app-id : ${{ vars.CREATE_PR_APP_ID }}
21+ private-key : ${{ secrets.CREATE_PR_APP_PRIVATE_KEY }}
22+
1623 - name : Checkout repository
1724 uses : actions/checkout@v7
1825
@@ -106,6 +113,10 @@ jobs:
106113 if : steps.check_update.outputs.update_needed == 'true'
107114 uses : peter-evans/create-pull-request@v8
108115 with :
116+ # Use a GitHub App token (not the default GITHUB_TOKEN) so the created
117+ # PR triggers other workflows (e.g. Validate). Events raised by
118+ # GITHUB_TOKEN do not trigger further workflow runs by design.
119+ token : ${{ steps.app-token.outputs.token }}
109120 branch : update/victron-mqtt-${{ steps.get_release.outputs.latest_version }}
110121 delete-branch : true
111122 title : " Update victron_mqtt to ${{ steps.get_release.outputs.latest_version }}"
You can’t perform that action at this time.
0 commit comments