Files
node/.github/workflows/label-pr.yml
T
Michaël Zasso e4462bdf72 tools: pass bot token to node-pr-labeler
This should allow workflows that use the `labeled` event to be run.

PR-URL: https://github.com/nodejs/node/pull/39271
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2021-07-09 17:02:49 +02:00

16 lines
282 B
YAML

name: Label PRs
on:
pull_request_target:
types: [opened]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: nodejs/node-pr-labeler@v1
with:
repo-token: ${{ secrets.GH_USER_TOKEN }}
configuration-path: .github/label-pr-config.yml