🏗️ Auto-apply PR label based on branch name
This commit is contained in:
12
.github/workflows/pr-labler.yml
vendored
Normal file
12
.github/workflows/pr-labler.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# Labels pull requests based on their branch name
|
||||
name: 💡 PR Branch Labeler
|
||||
on: pull_request
|
||||
jobs:
|
||||
label-pr:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Label PR
|
||||
if: github.event.action == 'opened'
|
||||
uses: ffittschen/pr-branch-labeler@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user