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

ci: Sync labels from file #55

Merged
merged 1 commit into from
Jan 31, 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
53 changes: 53 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# kinds
- name: bug
description: Something isn't working
color: "d73a4a"
- name: docs
description: Improvements or additions to documentation
color: "0075ca"
- name: enhancement
description: New feature or request
color: "a2eeef"
- name: build
description: Changes to Build (Yarn, NPM, Poetry, etc.)
color: "e4e669"
- name: ci
description: Changes to CI (GitHub Actions)
color: "e4e669"
- name: refactor
description: Improvements to code quality
color: "e4e669"
- name: revert
description: Reverting earlier changes
color: "e4e669"

# Labels controlling the changelog
- name: highlight
description: Changes to highlight in the changelog
color: "a2eeef"
- name: skip-changelog
description: Apply to PRs that should not appear in the changelog
color: d8eb34

# Labels providing additional information on status of an issue/PR.
- name: good first issue
description: Good for newcomers
color: "7057ff"
- name: help wanted
description: Extra attention is needed
color: "008672"
- name: invalid
description: This doesn't seem right
color: "e4e669"
- name: question
description: Further information is requested
color: "d876e3"
- name: wontfix
description: Indicates that work won't continue on an issue, pull request, or discussion
color: e0e0e
- name: duplicate
description: Indicates similar issues, pull requests, or discussions
color: e0e0e0
- name: invalid
description: Indicates that an issue, pull request, or discussion is no longer relevant
color: e0e0e0
18 changes: 18 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# CI Job to keep the set of labels in GitHub configured in code.
name: Sync labels
on:
push:
branches:
- main
paths:
- .github/labels.yml
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
manifest: .github/labels.yml
Loading