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 }}