Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit ae6f62e

Browse files
committed
ci: add labeler to pull-request-workflow
1 parent 9e13a47 commit ae6f62e

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/labeler.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
repo:
2+
- ./*
3+
4+
lib:
5+
- lib/**/*.js
6+
7+
test:
8+
- test/**/*.js
9+
10+
ci:
11+
- ".github/**/*"

.github/workflows/pull-request-workflow.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,11 @@ jobs:
1818
- name: Building project
1919
run: yarn build
2020
- name: Running tests
21-
run: yarn test
21+
run: yarn test
22+
23+
label:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/labeler@v2
27+
with:
28+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)