Skip to content

Commit

Permalink
Fix workflow permission issue when running in merge branch (sonic-net…
Browse files Browse the repository at this point in the history
…#7417)

Fix the labeler workflow permission issue when merging from fork repo.
It impacts the labeler workflow to support auto-merge for package versions upgrade on 202012 branch. The current workaround is to add the label "automerge" on the PR sent by mssonicbld, then the automerge workflow will merge the PR.
  • Loading branch information
xumia authored and Carl Keene committed Aug 7, 2021
1 parent 31d1524 commit 08cc047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

name: Labeler
on:
pull_request:
pull_request_target:
types:
- opened
- reopened
Expand Down

0 comments on commit 08cc047

Please sign in to comment.