Skip to content

ci: add sync_labels #132

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

Merged
merged 2 commits into from
Oct 14, 2021
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
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ updates:
interval: "daily"
timezone: "Asia/Tokyo"
time: "05:00"
labels:
- build
50 changes: 50 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
labels:
- name: feat
description: 新機能
color: "A2EEEF"
- name: fix
description: バグ修正
color: "D73A4A"
- name: docs
description: ドキュメントのみの変更
color: "0075CA"
- name: style
description: フォーマットの変更
color: "7057ff"
- name: refactor
description: リファクタリングのための変更
color: "0E8A16"
- name: perf
description: パフォーマンスの改善のための変更
color: "E4E669"
- name: test
description: 不足テストの追加や既存テストの修正
color: "E99695"
- name: build
description: ビルドシステムや外部依存に関する変更
color: "006b75"
- name: ci
description: CI用の設定やスクリプト関する変更
color: "000000"
- name: chore
description: その他の変更
color: "DDDDDD"
- name: revert
description: 以前のコミットに復帰
color: "FBCA04"

repos:
- name: raduwen/widgets
labels:
- feat
- fix
- docs
- style
- refactor
- perf
- test
- build
- ci
- chore
- revert
16 changes: 16 additions & 0 deletions .github/workflows/sync_labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Sync lables
on:
push:
paths:
- .github/workflows/sync_labels.yml
- .github/labels.yml
jobs:
sync_labels:
name: Sync Labels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: b4b4r07/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}