Commit Graph

5 Commits

Author SHA1 Message Date
Liu Shilong
141120549b
[actions] Remove approve step in label action. (#11968)
Why I did it
Approve step needs special permission settings.
We already added permission setting to enable bypass merging PR.
So, approve step is not necessary.
2022-09-05 14:56:22 +08:00
Liu Shilong
f4e50597e2 [actions] Add github context env in label action. (#11926) 2022-09-02 21:57:41 +00:00
Liu Shilong
932af450ed
[actions] Update github actions label and automerge. (#11736) (#11909)
1. Add auto approve step when adding label to version upgrading PR.
2. Use mssonicbld TOKEN to merge version upgrading PR instead of 'github actions'
2022-08-31 16:31:48 +08:00
xumia
bdb23a0d94 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.
2021-04-29 10:09:43 -07:00
xumia
4d9f6e6b72 [ci] Support to merge SONiC package versions change pr automatically (#7065)
Support to merge the SONiC package versions upgrade pull request automatically.

#### How I did it
Add the automerge tag in the pull request.
1. Sent by the author mssonicbld
2. Only contains changes in files/build/**/*
3. Only for the specified branch 202012

Merge the pull request.
1. Sent by the author mssonicbld
2. The Azure Pipelines checker complete and successful
3. The pull request contains label automerge
2021-04-13 13:47:56 -07:00