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

Superseded by: #486 #485

Closed
wants to merge 2 commits into from
Closed
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
36 changes: 36 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# https://github.com/fuxingloh/multi-labeler
# https://www.conventionalcommits.org/
# https://github.com/warrensbox/terraform-switcher/labels

version: v1

labels:
- label: 'dependencies'
matcher:
title: '^deps:'
branch: '^deps/'
commits: '^deps:'

- label: 'documentation'
matcher:
title: '^docs?:'
branch: '^docs?/'
commits: '^docs?:'

- label: 'enhancement'
matcher:
title: '^fix:'
branch: '^fix/'
commits: '^fix:'

- label: 'golang'
matcher:
title: '^go(lang)?:'
branch: '^go(lang)?/'
commits: '^go(lang)?:'

- label: 'new feature'
matcher:
title: '^feat(ure)?:'
branch: '^feat(ure)?/'
commits: '^feat(ure)?:'
6 changes: 5 additions & 1 deletion .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ changelog:
categories:
- title: Added
labels:
- enhancement
- experimental
- feature
- new feature
- title: Changed
labels:
- backwards-incompatible
- depricated
- enhancement
- title: Fixed
labels:
- bug
Expand All @@ -20,6 +21,9 @@ changelog:
labels:
- docs
- documentation
- title: Security
labels:
- security
- title: Dependencies
labels:
- dependencies
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/multi-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# https://github.com/fuxingloh/multi-labeler
# https://www.conventionalcommits.org/
# https://github.com/warrensbox/terraform-switcher/labels

on:
pull_request:
types: [opened, edited, synchronize, ready_for_review]
branches: [master, main]

pull_request_target: # for OSS with public contributions (forked PR)
types: [opened, edited, synchronize, ready_for_review]
branches: [master, main]

jobs:
labeler:
name: Multi Labeler
runs-on: ubuntu-latest
steps:
- uses: fuxingloh/multi-labeler@v4