workflows/backport: fix conditional

This commit is contained in:
Wolfgang Walther 2025-05-04 19:11:36 +02:00
parent 93e8cdce7a
commit b6375b21c0
No known key found for this signature in database
GPG key ID: B39893FA5F65CAE1

View file

@ -14,7 +14,7 @@ permissions: {}
jobs:
backport:
name: Backport Pull Request
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.pull_request.action != 'labeled' || startsWith(github.event.label.name, 'backport'))
if: github.repository_owner == 'NixOS' && github.event.pull_request.merged == true && (github.event.action != 'labeled' || startsWith(github.event.label.name, 'backport'))
runs-on: ubuntu-24.04
steps:
# Use a GitHub App to create the PR so that CI gets triggered