Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Labels Automatically #24

Merged
merged 2 commits into from
Jan 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
"Type: Feature":
- head-branch: ["^feat(ure)?-"]
"Type: Bug":
- head-branch: ["^fix-"]
"Type: Security":
- head-branch: ["^sec(urity)?-"]
"Type: Documentation":
- head-branch: ["^doc(ument)?s?-"]
"Type: Refactoring":
- head-branch: ["^refactor(ing)?-"]
"Type: Testing":
- head-branch: ["^test(ing|s)?-"]
"Type: Maintenance":
- head-branch: ["^maintenance-", "^maintain(ing)?-"]
"Type: CI":
- head-branch: ["^ci-"]
"Type: Dependencies":
- head-branch: ["^dep(endency|endencies|s)?-"]
"Type: Meta":
- head-branch: ["^meta-"]

"Status: In Progress":
- changed-files:
- any-glob-to-any-file: "*"
52 changes: 24 additions & 28 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,30 @@
changelog:
categories:
- title: 🛠️ Breaking Changes
labels:
- breaking-change
exclude:
labels:
- "Type: Meta"
- "Type: Question"
- "Type: Release"

categories:
- title: 🧨 Breaking Changes
labels: ["Type: Breaking Change"]
- title: 🎉 New Features
labels:
- feat

labels: ["Type: Feature"]
- title: 🧰 Bug Fixes
labels:
- fix

labels: ["Type: Bug"]
- title: 🔐 Security Fixes
labels: ["Type: Security"]
- title: 📖 Documentation Changes
labels:
- docs

- title: 🎽 CI & CD
labels:
- build
- ci
- test

- title: 💪 Enhancements
labels:
- chore
- perf
- refactor
- style

labels: ["Type: Documentation"]
- title: 🧹 Refactoring
labels: ["Type: Refactoring"]
- title: 🧪 Testing
labels: ["Type: Testing"]
- title: 🔧 Maintenance
labels: ["Type: Maintenance"]
- title: 🎽 CI
labels: ["Type: CI"]
- title: ⛓️ Dependency Updates
labels:
- dependencies
labels: ["Type: Dependencies", "dependencies"]
- title: 🚐 Other Changes
labels: ["*"]
16 changes: 16 additions & 0 deletions .github/workflows/pull-request-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 🏷️ Pull Request Labeler

on:
- pull_request_target

permissions:
contents: read
pull-requests: write

jobs:
Labeler:
runs-on: Ubuntu-Latest

steps:
- name: 🏷️ Add Labels to the Pull Request
uses: actions/labeler@v5
3 changes: 1 addition & 2 deletions .github/workflows/vhs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,5 @@ jobs:

Because of the change of related files.
author: GitHub <noreply@github.com>
branch: update-vhs
branch: maintenance-vhs
title: Update GIF image with VHS
labels: docs
2 changes: 2 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[default.extend-words]
ure = "ure"
Loading