diff options
author | James McCoy <jamessan@jamessan.com> | 2022-01-07 10:33:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-07 10:33:19 -0500 |
commit | b4fbb9dcf2752d95b9be335d99b0c55efb5f17de (patch) | |
tree | 977305433e583060d8750e9d11245c2ec75378fd | |
parent | b680392687eeaee521b19d79a1e7effdc2dc1ed7 (diff) | |
parent | df06c36932bca3af9be2376acd1f9fb934bb3238 (diff) | |
download | rneovim-b4fbb9dcf2752d95b9be335d99b0c55efb5f17de.tar.gz rneovim-b4fbb9dcf2752d95b9be335d99b0c55efb5f17de.tar.bz2 rneovim-b4fbb9dcf2752d95b9be335d99b0c55efb5f17de.zip |
Merge pull request #16970 from dundargoc/ci/serialize-labeler-workflow
-rw-r--r-- | .github/workflows/labeler.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 76fc8793fa..f89c83e26f 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,7 +1,7 @@ name: "Pull Request Labeler" on: pull_request_target: - types: opened + types: [opened] jobs: triage: runs-on: ubuntu-latest @@ -14,6 +14,7 @@ jobs: repo-token: "${{ secrets.GITHUB_TOKEN }}" type-scope: runs-on: ubuntu-latest + needs: ["triage"] permissions: contents: write pull-requests: write @@ -25,6 +26,5 @@ jobs: steps: # Extract type and try to add it as a label - run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|([[:alpha:]]+)(\(.*\))?!?:.*|\1|')" || true - # Extract scope and try to add it as a label - run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|[[:alpha:]]+\((.+)\)!?:.*|\1|')" || true |