Commit Graph

10 Commits

Author SHA1 Message Date
Liu Shilong
2fac7e31e1 [action] Keep 'request for xxx branch' label when finished auto-cherry-pick. (#13107)
Why I did it
To keep 'Request for xxx branch' label when finished auto-cherry-pick.

How I did it
Change logic in post cherry pick action.

How to verify it
2023-01-12 23:30:24 +00:00
mssonicbld
cdcb7f02ac
[action] Use pull_request_target trigger instead to avoid codeQL check approval (#12509) (#12541)
Co-authored-by: Liu Shilong <shilongliu@microsoft.com>
2022-11-01 10:25:22 +08:00
Liu Shilong
2532be43bd [action] Use github code scan instead of LGTM. (#12402)
* [action] Add code scan for python
2022-10-26 05:48:11 +00:00
mssonicbld
3d8fbf4bca
[actions] Add auto cherry-pick actions to release branch (#11496) (#12336)
* [actions] Add github actions to auto cherry-pick prs to release branches

* Add README, fix workflow

Co-authored-by: Liu Shilong <shilongliu@microsoft.com>
2022-10-10 17:22:13 +08:00
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
Liu Shilong
9b952945ca
[actions] Fix automerge actions don't work issue. (#11671) 2022-08-10 11:53:58 +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