blob: b3ff4d58c2c12d2c74fd419001313d937f7a3c24 [file] [log] [blame]
name: Cherry-Pick Merges
on:
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, 'spec'))
|| (contains(github.event.pull_request.labels.*.name, 'request sve'))
|| (contains(github.event.pull_request.labels.*.name, 'cert blocker'))
)
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:
token: ${{ secrets.MATTER_PAT }}
branch: sve-2
labels: |
sve cherry pick
reviewers: |
woody-apple
andy31415
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}