workflows/labeler: fix double quotes

Because GitHub Actions doesn't like double quotes.
This commit is contained in:
Wolfgang Walther
2025-05-04 19:25:26 +02:00
parent 4bb6d41a0f
commit 6cb93f221b
+12 -12
View File
@@ -22,10 +22,10 @@ jobs:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
if: |
github.event.pull_request.head.repo.owner.login != 'NixOS' || !(
github.head_ref == "haskell-updates" ||
github.head_ref == "python-updates" ||
github.head_ref == "staging-next" ||
startsWith(github.head_ref, "staging-next-")
github.head_ref == 'haskell-updates' ||
github.head_ref == 'python-updates' ||
github.head_ref == 'staging-next' ||
startsWith(github.head_ref, 'staging-next-')
)
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -34,10 +34,10 @@ jobs:
- uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
if: |
github.event.pull_request.head.repo.owner.login != 'NixOS' || !(
github.head_ref == "haskell-updates" ||
github.head_ref == "python-updates" ||
github.head_ref == "staging-next" ||
startsWith(github.head_ref, "staging-next-")
github.head_ref == 'haskell-updates' ||
github.head_ref == 'python-updates' ||
github.head_ref == 'staging-next' ||
startsWith(github.head_ref, 'staging-next-')
)
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -49,10 +49,10 @@ jobs:
# the backport labels.
if: |
github.event.pull_request.head.repo.owner.login == 'NixOS' && (
github.head_ref == "haskell-updates" ||
github.head_ref == "python-updates" ||
github.head_ref == "staging-next" ||
startsWith(github.head_ref, "staging-next-")
github.head_ref == 'haskell-updates' ||
github.head_ref == 'python-updates' ||
github.head_ref == 'staging-next' ||
startsWith(github.head_ref, 'staging-next-')
)
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}