Skip to content

Commit

Permalink
ci: add pr labeller config and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Aug 2, 2024
1 parent f853b5d commit 5bae5d9
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"frontend":
- "src/frontend/**/*"
"backend":
- "src/backend/**/*"
"devops":
- ".github/**/*"
- "docker-*.yml"
- "**/Dockerfile"
- "**/*.dockerfile"
- "**/*entrypoint.sh"
"migration":
- "src/backend/app/migrations/**/*"
"docs":
- "docs/**/*"
- "mkdocs.yml"
- "README.md"
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_target:

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

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

0 comments on commit 5bae5d9

Please sign in to comment.