Skip to content

Commit

Permalink
Installing cherry-pick bot (#20340)
Browse files Browse the repository at this point in the history
* Adding cherry-pick bot (and moving restyled)

* Updating this to reflect the correct branches for the main repo
  • Loading branch information
woody-apple authored and pull[bot] committed Jun 27, 2023
1 parent 51863e9 commit 1191199
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
File renamed without changes.
37 changes: 37 additions & 0 deletions .github/workflows/cherry-picks.yaml
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/[email protected]
with:
branch: sve
reviewers: |
woody-apple
andy31415
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1191199

Please sign in to comment.