commit
ea6af7f9a4
26
.github/release-drafter.yml
vendored
26
.github/release-drafter.yml
vendored
@ -1,20 +1,18 @@
|
|||||||
categories:
|
categories:
|
||||||
- title: '🚀 Features'
|
- title: "🚀 Features"
|
||||||
labels:
|
labels:
|
||||||
- 'type: enhancement'
|
- "type: feature request"
|
||||||
- 'type: epic'
|
- "type: enhancement"
|
||||||
- 'type: feature request'
|
- "type: epic"
|
||||||
- title: '🐛 Bug Fixes'
|
- title: "🐛 Fixes"
|
||||||
labels:
|
labels:
|
||||||
- 'type: bug'
|
- "type: bug"
|
||||||
- title: '🧰 Maintenance'
|
- title: "🧰 Maintenance"
|
||||||
labels:
|
labels:
|
||||||
- 'type: chore'
|
- "type: chore"
|
||||||
- 'type: ci'
|
- "type: ci"
|
||||||
- title: '📖 Documentaion'
|
- "type: documentation"
|
||||||
labels:
|
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
|
||||||
- 'type: documentation'
|
|
||||||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
|
|
||||||
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
|
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
|
||||||
template: |
|
template: |
|
||||||
## Changes
|
## Changes
|
||||||
|
|||||||
14
.github/workflows/auto-assign-author.yml
vendored
Normal file
14
.github/workflows/auto-assign-author.yml
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Auto assign author, tags, and reviewers to pull requests
|
||||||
|
name: "Auto Assign Author"
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened]
|
||||||
|
jobs:
|
||||||
|
assign-author:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- uses: toshimaru/auto-author-assign@v1.1.0
|
||||||
|
with:
|
||||||
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
40
.github/workflows/auto-label-conventional-commits.yaml
vendored
Normal file
40
.github/workflows/auto-label-conventional-commits.yaml
vendored
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
name: "Auto Label Conventional Commits"
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types:
|
||||||
|
- reopened
|
||||||
|
- opened
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- reopened
|
||||||
|
- opened
|
||||||
|
jobs:
|
||||||
|
label_issues:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Label issues
|
||||||
|
run: |
|
||||||
|
ISSUE_TITLE=$(gh issue view ${{ github.event.number }} --json title -q ".title")
|
||||||
|
case "$ISSUE_TITLE" in
|
||||||
|
chore:*) LABEL="type: chore" ;;
|
||||||
|
feat:*) LABEL="type: feature request" ;;
|
||||||
|
perf:*) LABEL="type: enhancement" ;;
|
||||||
|
fix:*) LABEL="type: bug" ;;
|
||||||
|
docs:*) LABEL="type: documentation" ;;
|
||||||
|
ci:*) LABEL="type: ci" ;;
|
||||||
|
build:*) LABEL="type: ci" ;;
|
||||||
|
test:*) LABEL="type: chore" ;;
|
||||||
|
style:*) LABEL="type: chore" ;;
|
||||||
|
refactor:*) LABEL="type: chore" ;;
|
||||||
|
*) LABEL="" ;;
|
||||||
|
esac
|
||||||
|
if [ -n "$LABEL" ]; then
|
||||||
|
gh issue edit ${{ github.event.number }} --add-label "$LABEL"
|
||||||
|
fi
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
Loading…
x
Reference in New Issue
Block a user