workflows/labeler: fix double quotes
Because GitHub Actions doesn't like double quotes.
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user