From 6cb93f221b91b747962cae9d1de26d99f4e1003c Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Sun, 4 May 2025 19:25:26 +0200 Subject: [PATCH] workflows/labeler: fix double quotes Because GitHub Actions doesn't like double quotes. --- .github/workflows/labels.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 2c003bf1dec4..284905d62e0b 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -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 }}