Skip to content

Commit 0776502

Browse files
Set up actions/lableler (#2783)
1 parent 9d1854b commit 0776502

2 files changed

Lines changed: 37 additions & 0 deletions

File tree

.github/labeler.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
demo:
2+
- changed-files:
3+
- any-glob-to-any-file: 'contributions/demo/**'
4+
5+
contribution_to_opensource:
6+
- changed-files:
7+
- any-glob-to-any-file: 'contributions/open-source/**'
8+
9+
feedback:
10+
- changed-files:
11+
- any-glob-to-any-file: 'contributions/feedback/**'
12+
13+
presentation:
14+
- changed-files:
15+
- any-glob-to-any-file: 'contributions/presentation/**'
16+
17+
scientific-paper:
18+
- changed-files:
19+
- any-glob-to-any-file: 'contributions/scientific-paper/**'
20+
21+
tutorial:
22+
- changed-files:
23+
- any-glob-to-any-file: 'contributions/executable-tutorial/**'

.github/workflows/labeler.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Pull Request Labeler
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
labeler:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
13+
with:
14+
sync-labels: true

0 commit comments

Comments
 (0)