-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating SVE cherry-pick rules (#20387)
* Updating SVE rules * Fixing paths
- Loading branch information
1 parent
25c6cda
commit 86e3341
Showing
2 changed files
with
41 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,42 @@ | ||
name: Cherry-Pick Merges | ||
|
||
on: | ||
pull_request_target: | ||
branches: | ||
- master | ||
types: ["closed"] | ||
pull_request_target: | ||
branches: | ||
- master | ||
types: ["closed"] | ||
|
||
jobs: | ||
cherry_pick_release_v1_0: | ||
runs-on: ubuntu-latest | ||
name: Cherry-Pick into SVE | ||
if: | | ||
(github.event.pull_request.merged == true) | ||
&& ( | ||
(contains(github.event.pull_request.labels.*.name, 'sve')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'cert blocker')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'spec')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'platform')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'darwin')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'android')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'sve cherry-pick')) | ||
) | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Cherry-Pick into sve branch | ||
uses: carloscastrojumo/[email protected] | ||
with: | ||
token: ${{ secrets.MATTER_PAT }} | ||
branch: sve | ||
reviewers: | | ||
woody-apple | ||
andy31415 | ||
cherry_pick_release_v1_0: | ||
runs-on: ubuntu-latest | ||
name: Cherry-Pick into SVE | ||
if: | | ||
(github.event.pull_request.merged == true) | ||
&& ( | ||
(contains(github.event.pull_request.labels.*.name, 'sve')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'cert blocker')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'spec')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'platform')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'darwin')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'android')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'examples')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'scripts')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'workflows')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'github')) | ||
|| (contains(github.event.pull_request.labels.*.name, 'sve cherry-pick')) | ||
) | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Cherry-Pick into sve branch | ||
uses: carloscastrojumo/[email protected] | ||
with: | ||
token: ${{ secrets.MATTER_PAT }} | ||
branch: sve | ||
reviewers: | | ||
woody-apple | ||
andy31415 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |