Skip to content

Commit

Permalink
ci: add pr auto-labelling workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 10, 2023
1 parent df2cc31 commit eb8f9d6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"devops":
- ".github/**/*"
- "Dockerfile"
- "pyproject.toml"
- "pdm.lock"
- "*entrypoint.sh"
- "Makefile"
"documentation":
- "docs/**/*"
- "mkdocs.yml"
- "README.md"
"version":
- "fmtm_splitter/__version__.py"
14 changes: 14 additions & 0 deletions .github/workflows/pr_label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PR Label

on:
pull_request:

jobs:
pr-label:
runs-on: ubuntu-latest

steps:
- uses: actions/labeler@v3
# Uses .github/labeler.yml definitions
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit eb8f9d6

Please sign in to comment.