We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a91c026 commit 91b4521Copy full SHA for 91b4521
1 file changed
.github/workflows/backport.yaml
@@ -0,0 +1,24 @@
1
+name: Backport
2
+on:
3
+ pull_request_target:
4
+ types:
5
+ - closed
6
+ - labeled
7
+
8
+jobs:
9
+ backport:
10
+ name: Backport
11
+ runs-on: ubuntu-latest
12
+ if: >
13
+ github.event.pull_request.merged
14
+ && (
15
+ github.event.action == 'closed'
16
+ || (
17
+ github.event.action == 'labeled'
18
+ && contains(github.event.label.name, 'backport')
19
+ )
20
21
+ steps:
22
+ - uses: tibdex/backport@v2
23
+ with:
24
+ github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments