-
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.
* Adding cherry-pick bot (and moving restyled) * Updating this to reflect the correct branches for the main repo
- Loading branch information
1 parent
98e7e5f
commit 1046084
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Cherry-Pick Merges | ||
|
||
on: | ||
pull_request: | ||
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/github-cherry-pick-action@v1.0.1 | ||
with: | ||
branch: sve | ||
reviewers: | | ||
woody-apple | ||
andy31415 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |