Skip to content

Commit c7b4fec

Browse files
Fix GitHub Actions workflow permission issue for triggering stage-2 builds (#207)
* Initial plan * Fix workflow token permission issue for triggering stage-2 builds Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NorthernMan54 <19808920+NorthernMan54@users.noreply.github.com>
1 parent b47bd6f commit c7b4fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-stage-1_update_dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
- name: Trigger Build and Release ${{ matrix.release_type }} Package
6969
if: steps.homebridge-bot.outputs.changes_detected == 'true' && steps.homebridge-bot.outputs.auto_merge == 'true'
7070
env:
71-
GH_TOKEN: ${{ github.token }}
71+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
7272
run: |
7373
echo "::notice::Triggering ${{ matrix.release_type }} Stage 2 - Build and Release ${{ matrix.release_type }} Package"
7474
gh workflow run ${{ matrix.trigger_workflow }} --ref latest || { echo "::error::Failed to trigger ${{ matrix.release_type }} Stage 2 workflow"; exit 1; }

0 commit comments

Comments
 (0)