forked from aws4embeddedlinux/meta-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 950 Bytes
/
auto-backport.yml
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
name: auto-backport
on:
pull_request_target:
branches:
- master-next
types: ["closed"]
jobs:
cherry_pick:
strategy:
matrix:
branch: [kirkstone, dunfell, langdale]
runs-on: ubuntu-22.04
name: Cherry pick into release branches
if: |
(github.event.pull_request.merged == true ) &&
(contains(github.event.pull_request.labels.*.name, 'version-upgrade') || contains(github.event.pull_request.labels.*.name, 'auto-backport'))
steps:
- name: checkout current
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Cherry pick into ${{ matrix.branch }}-next
uses: carloscastrojumo/[email protected]
with:
branch: ${{ matrix.branch }}-next
labels: |
auto-created
backport
${{ matrix.branch }}
auto-integrate
token: ${{ secrets.BOT_CREDENTIAL }}