mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Conventional Commits (#1116)
* chore: add conventional-commits
* Use branch for conventional commits
* Remove dupe workflow 🔨
This commit is contained in:
11
.github/pr-labeler.yml
vendored
Normal file
11
.github/pr-labeler.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
feature: ['feat/*', 'feature/*']
|
||||
chore: ['chore/*']
|
||||
bug: ['fix/*', 'bug/*']
|
||||
build: ['build/*']
|
||||
ci: ['ci/*']
|
||||
docs: ['docs/*']
|
||||
style: ['style/*']
|
||||
refactor: ['refactor/*']
|
||||
perf: ['perf/*']
|
||||
test: ['test/*']
|
||||
revert: ['revert/*']
|
||||
20
.github/workflows/pr_labeler.yml
vendored
Normal file
20
.github/workflows/pr_labeler.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: PR Labeler
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
pr-labeler:
|
||||
permissions:
|
||||
contents: read # for TimonVS/pr-labeler-action to read config file
|
||||
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: TimonVS/pr-labeler-action@v4
|
||||
with:
|
||||
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -53,4 +53,8 @@ repos:
|
||||
exclude: "^omnibus/config/patches/"
|
||||
- id: check-merge-conflict
|
||||
- id: no-commit-to-branch
|
||||
args: [-b, master, -b, develop]
|
||||
args:
|
||||
- -b
|
||||
- master
|
||||
- --pattern
|
||||
- '^(?!((chore|feat|feature|bug|fix|build|ci|docs|style|refactor|perf|test|revert)\/[a-zA-Z0-9\-]+)$).*'
|
||||
|
||||
Reference in New Issue
Block a user