aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/labeler.yml
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-11-30 20:35:25 +0000
committerJosh Rahm <joshuarahm@gmail.com>2023-11-30 20:35:25 +0000
commit1b7b916b7631ddf73c38e3a0070d64e4636cb2f3 (patch)
treecd08258054db80bb9a11b1061bb091c70b76926a /.github/workflows/labeler.yml
parenteaa89c11d0f8aefbb512de769c6c82f61a8baca3 (diff)
parent4a8bf24ac690004aedf5540fa440e788459e5e34 (diff)
downloadrneovim-aucmd_textputpost.tar.gz
rneovim-aucmd_textputpost.tar.bz2
rneovim-aucmd_textputpost.zip
Merge remote-tracking branch 'upstream/master' into aucmd_textputpostaucmd_textputpost
Diffstat (limited to '.github/workflows/labeler.yml')
-rw-r--r--.github/workflows/labeler.yml15
1 files changed, 2 insertions, 13 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 60689029a3..52682d93dd 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -3,7 +3,6 @@ on:
pull_request_target:
types: [opened]
jobs:
-
triage:
runs-on: ubuntu-latest
permissions:
@@ -12,10 +11,10 @@ jobs:
steps:
- uses: actions/labeler@v4
with:
- repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: ""
type-scope:
+ needs: triage
runs-on: ubuntu-latest
permissions:
contents: write
@@ -34,17 +33,7 @@ jobs:
run: gh pr edit "$PR_NUMBER" --add-label "$(echo "$PR_TITLE" | sed -E 's|[[:alpha:]]+(\(.*\))?!:.*|breaking-change|')" || true
request-reviewer:
- if: github.event.pull_request.state == 'open' && github.event.pull_request.draft == false
- runs-on: ubuntu-latest
needs: ["triage", "type-scope"]
permissions:
pull-requests: write
- steps:
- - uses: actions/checkout@v3
- - name: 'Request reviewers'
- uses: actions/github-script@v6
- with:
- github-token: ${{ secrets.TEAM_REVIEW }}
- script: |
- const script = require('./.github/scripts/reviews.js')
- await script({github, context})
+ uses: ./.github/workflows/add-reviewers.yml