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 9bc9b44 commit 8ad0073Copy full SHA for 8ad0073
1 file changed
.github/workflows/backport.yml
@@ -0,0 +1,29 @@
1
+name: Backport
2
+on:
3
+ pull_request_target:
4
+ types:
5
+ - closed
6
+ - labeled
7
+
8
+permissions:
9
+ pull-requests: write
10
+ contents: write
11
12
+jobs:
13
+ backport:
14
+ runs-on: ubuntu-latest
15
+ if: >
16
+ github.event.pull_request.merged
17
+ && (
18
+ github.event.action == 'closed'
19
+ || (
20
+ github.event.action == 'labeled'
21
+ && contains(github.event.label.name, 'backport')
22
+ )
23
24
+ name: Backport
25
+ steps:
26
+ - name: Backport
27
+ uses: tibdex/backport@v2
28
+ with:
29
+ github_token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments