Skip to content

Commit 63f6a54

Browse files
committed
ci: add pr auto-labelling workflow
1 parent 7a34c76 commit 63f6a54

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/labeler.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"devops":
2+
- ".github/**/*"
3+
- "Dockerfile"
4+
- "pyproject.toml"
5+
- "pdm.lock"
6+
- "*entrypoint.sh"
7+
- "Makefile"
8+
"documentation":
9+
- "docs/**/*"
10+
- "mkdocs.yml"
11+
- "README.md"
12+
"version":
13+
- "osm_rawdata/__version__.py"

.github/workflows/pr_label.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: PR Label
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
pr-label:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/labeler@v3
12+
# Uses .github/labeler.yml definitions
13+
with:
14+
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)