Skip to content

Commit

Permalink
Add labeler action
Browse files Browse the repository at this point in the history
  • Loading branch information
ak1ra24 committed Jan 20, 2024
1 parent 23b05fa commit 4f7de6b
Show file tree
Hide file tree
Showing 2 changed files with 27 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 @@
examples:
- changed-files:
- examples/**/*
dockerfiles:
- changed-files:
- Dockerfiles/**/*
docs:
- changed-files:
- docs/*
githubactions:
- changed-files:
- .github/workflows/*
feature:
- head-branch: ['^feature', 'feature']
fix:
- head-branch: ['^fix', 'fix']
11 changes: 11 additions & 0 deletions .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5

0 comments on commit 4f7de6b

Please sign in to comment.