aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/backport.yml
diff options
context:
space:
mode:
authordada513 <dada513@protonmail.com>2022-03-21 15:55:12 +0100
committerGitHub <noreply@github.com>2022-03-21 15:55:12 +0100
commitf2ca11688ef859cd2257105f39a07318a31c5be6 (patch)
treef0d1444af4d7a225d213b8b2f2048e9046043b6b /.github/workflows/backport.yml
parent062fc79286fd5b9350a0041f734885f8fe29de64 (diff)
parent3c0c57359b0a85313f962582b56f6e561366dfd0 (diff)
downloadPrismLauncher-f2ca11688ef859cd2257105f39a07318a31c5be6.tar.gz
PrismLauncher-f2ca11688ef859cd2257105f39a07318a31c5be6.tar.bz2
PrismLauncher-f2ca11688ef859cd2257105f39a07318a31c5be6.zip
Merge pull request #326 from Scrumplex/feat-backport-pr
Diffstat (limited to '.github/workflows/backport.yml')
-rw-r--r--.github/workflows/backport.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml
new file mode 100644
index 00000000..e1a7cffa
--- /dev/null
+++ b/.github/workflows/backport.yml
@@ -0,0 +1,17 @@
+name: Backport PR to stable
+on:
+ pull_request:
+ branches: [ develop ]
+ types: [ closed ]
+jobs:
+ release_pull_request:
+ if: github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'backport')
+ runs-on: ubuntu-latest
+ steps:
+ - name: checkout
+ uses: actions/checkout@v1
+ - name: Backport PR by cherry-pick-ing
+ uses: Nathanmalnoury/gh-backport-action@master
+ with:
+ pr_branch: 'stable'
+ github_token: ${{ secrets.GITHUB_TOKEN }}