Fix workflow permission issue when running in merge branch (#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.
This commit is contained in:
parent
1b05982727
commit
bdb23a0d94
2
.github/workflows/label.yml
vendored
2
.github/workflows/label.yml
vendored
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
name: Labeler
|
name: Labeler
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request_target:
|
||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
- reopened
|
- reopened
|
||||||
|
Loading…
Reference in New Issue
Block a user