Skip to content

Commit 3abbcfb

Browse files
authored
ci: Add actions/labeler (#330)
related to #326 [actions/labeler: An action for automatically labelling pull requests](https://github.com/actions/labeler)
1 parent 404451c commit 3abbcfb

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.github/labeler.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CI/CD:
2+
- .github/workflows/*
3+
4+
dependencies:
5+
- .nvmrc
6+
- package.json
7+
- package-lock.json
8+
9+
documentation:
10+
- README.md

.github/workflows/labeler.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "Pull Request Labeler"
2+
# https://github.com/actions/labeler
3+
4+
on:
5+
- pull_request_target
6+
7+
jobs:
8+
triage:
9+
runs-on: ubuntu-18.04
10+
steps:
11+
- uses: actions/labeler@v3
12+
with:
13+
repo-token: "${{ secrets.GH_PAT }}"

0 commit comments

Comments
 (0)