-
Notifications
You must be signed in to change notification settings - Fork 2.1k
37 lines (35 loc) · 1.2 KB
/
cherry-picks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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@v4
with:
fetch-depth: 0
- name: Cherry-Pick into sve branch
uses: carloscastrojumo/[email protected]
with:
token: ${{ secrets.MATTER_PAT }}
branch: sve-2
labels: |
sve cherry pick
reviewers: |
woody-apple
andy31415
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}