mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
Pulls in nodejs/node-pr-labeler#20, which counts each subsystem once before applying the four-subsystem limit that collapses labels into `lib / src`. Until now any PR touching three or more files under a two-label rule (e.g. `src/quic/`, `src/crypto/`) was collapsed even though it only touched one subsystem. Signed-off-by: Soul Lee <alus20x@gmail.com> PR-URL: https://github.com/nodejs/node/pull/66606 Refs: https://github.com/nodejs/node-pr-labeler/commit/dfe5eb3b099a487644e32567a482744620876ab3 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
19 lines
355 B
YAML
19 lines
355 B
YAML
name: Label PRs
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
label:
|
|
runs-on: ubuntu-slim
|
|
|
|
steps:
|
|
- uses: nodejs/node-pr-labeler@dfe5eb3b099a487644e32567a482744620876ab3 # v1
|
|
with:
|
|
repo-token: ${{ secrets.GH_USER_TOKEN }}
|
|
configuration-path: .github/label-pr-config.yml
|