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 5c993b9 commit 35efebbCopy full SHA for 35efebb
.github/workflows/backport.yml
@@ -0,0 +1,24 @@
1
+name: Automatic backport action
2
+
3
+on:
4
+ pull_request_target:
5
+ types: ["labeled", "closed"]
6
7
+jobs:
8
+ backport:
9
+ name: Backport PR
10
+ if: github.event.pull_request.merged == true && !(contains(github.event.pull_request.labels.*.name, 'backport'))
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Backport Action
14
+ uses: sorenlouv/backport-github-action@ad888e978060bc1b2798690dd9d03c4036560947 # v9.5.1
15
+ with:
16
+ github_token: ${{ secrets.GITHUB_TOKEN }}
17
18
+ - name: Info log
19
+ if: ${{ success() }}
20
+ run: cat ~/.backport/backport.info.log
21
22
+ - name: Debug log
23
+ if: ${{ failure() }}
24
+ run: cat ~/.backport/backport.debug.log
0 commit comments