fix: only run backport for labelled pull requests (#31052)

This commit is contained in:
bo0tzz 2026-08-27 16:39:55 +02:00 committed by GitHub
parent c7d24321bf
commit 2ba343e138
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,7 +9,9 @@ permissions: {}
jobs:
backport:
name: Backport pull request
if: ${{ github.event.pull_request.merged }}
if: >-
${{ github.event.pull_request.merged
&& contains(join(github.event.pull_request.labels.*.name, ' '), 'backport:release/') }}
runs-on: ubuntu-latest
permissions: {}
steps: