forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1.19 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
38
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, '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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}