workflows/backport: fix conditional (#404157)

This commit is contained in:
Wolfgang Walther 2025-05-04 17:28:10 +00:00 committed by GitHub
commit 43f7260897
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ permissions: {}
jobs: jobs:
backport: backport:
name: Backport Pull Request 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 runs-on: ubuntu-24.04
steps: steps:
# Use a GitHub App to create the PR so that CI gets triggered # Use a GitHub App to create the PR so that CI gets triggered