mirror of
https://github.com/Lissy93/dashy.git
synced 2024-11-28 13:43:05 +03:00
🏗️ Auto-apply PR label based on branch name
This commit is contained in:
parent
37a22db971
commit
b2a0a91720
10
.github/pr-branch-labeler.yml
vendored
Normal file
10
.github/pr-branch-labeler.yml
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
# PR labels and the branch patterns they should be auto-assigned to
|
||||
|
||||
🦋 Bug Fix: ['FIX/*', 'HOT-FIX/*', 'BUG-FIX/*']
|
||||
✨ New Feature: ['FEATURE/*']
|
||||
🚚 Refactor: ['IMPROVMENTS/*', 'REFACTOR/*']
|
||||
💯 Showcase: ['SHOWCASE/*']
|
||||
💄 Stylistic Changes: ['STYLES/*', 'THEME/*']
|
||||
🛠️ Build Changes: ['ARCH/*', 'ARCHITECTURE/*', 'DOCKER/*', 'BUILD/*']
|
||||
🤖 Auto: ['AUTO/*', 'BOT/*', 'snyk-upgrade-*', 'snyk-fix-*']
|
||||
⛔ Don't Merge: ['WEBSITE/*', 'EXPERIMENT/*', 'DEPLOY/*', 'deploy_*', 'gh-pages', 'dev-demo']
|
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 }}
|
Loading…
Reference in New Issue
Block a user