Browse Source

Fix backport action

pull/495/head
Ionite 9 months ago
parent
commit
ed61fa66b8
No known key found for this signature in database
  1. 6
      .github/workflows/backport.yml

6
.github/workflows/backport.yml

@ -1,12 +1,12 @@
name: Automatic Backport
on:
pull_request_target:
types: ["labeled", "closed"]
pull_request:
types: ["closed", "labeled"]
jobs:
backport:
if: startsWith(github.event.pull_request.labels.*.name, 'backport-to-')
if: ${{ (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'backport-to-main') == true) }}
name: Backport PR
runs-on: ubuntu-latest
steps:

Loading…
Cancel
Save