Skip to content

Commit fc7fba0

Browse files
committed
try add labeler.yml file
1 parent dc2480c commit fc7fba0

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.github/labeler.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#FIXME: used to test. Can be reworked to automatic labelling (fixes, features ,c , go , ...)
2+
# Add 'AnyChange' label to any changes within the entire repository
3+
AnyChange:
4+
- changed-files:
5+
- any-glob-to-any-file: '**'
6+

.github/workflows/label.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
# https://github.com/actions/labeler
77

88
name: Labeler
9-
on: [pull_request, workflow_dispatch]
9+
on: [pull_request_target, workflow_dispatch]
1010

1111
jobs:
12-
label:
13-
12+
labeler:
1413
runs-on: ubuntu-latest
15-
14+
permissions:
15+
contents: read
16+
pull-requests: write
1617
steps:
17-
- uses: actions/labeler@v2
18+
- uses: actions/labeler@v5
1819
with:
1920
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)