generated from 9renpoto/.59
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: sync labels * feat: watch cargo packages
- Loading branch information
Showing
4 changed files
with
191 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: cargo | ||
directory: / | ||
labels: | ||
- "Type: Maintenance" | ||
schedule: | ||
interval: daily | ||
- package-ecosystem: github-actions | ||
directory: '/' | ||
schedule: | ||
interval: daily | ||
time: '03:00' | ||
timezone: 'Asia/Tokyo' | ||
open-pull-requests-limit: 99 | ||
labels: | ||
- "Type: Maintenance" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
- | ||
name: duplicate | ||
color: ededed | ||
description: 'This issue or Pull Request already exists' | ||
aliases: [] | ||
- | ||
name: 'good first issue' | ||
color: 7057ff | ||
description: 'Good for newcomers' | ||
aliases: [] | ||
- | ||
name: 'help wanted' | ||
color: e99695 | ||
description: 'Extra attention is needed' | ||
aliases: [] | ||
- | ||
name: 'Status: Abandoned' | ||
color: '000000' | ||
description: 'The issue or Pull Request is wontfix' | ||
aliases: [] | ||
- | ||
name: 'Status: Blocked' | ||
color: ee0701 | ||
description: 'Progress on the issue is Blocked' | ||
aliases: [] | ||
- | ||
name: 'Status: In Progress' | ||
color: cccccc | ||
description: 'Work in Progress' | ||
aliases: [] | ||
- | ||
name: 'Status: Need More Info' | ||
color: F9C90A | ||
description: 'Lacks enough info to make progress' | ||
aliases: [] | ||
- | ||
name: 'Status: PR Welcome' | ||
color: '2E7733' | ||
description: 'Welcome to Pull Request' | ||
aliases: [] | ||
- | ||
name: 'Status: Proposal' | ||
color: d4c5f9 | ||
description: 'Request for comments' | ||
aliases: [] | ||
- | ||
name: 'Status: Review Needed' | ||
color: fbca04 | ||
description: 'Request for review comments' | ||
aliases: [] | ||
- | ||
name: 'Type: Breaking Change' | ||
color: b60205 | ||
description: 'Includes breaking changes' | ||
aliases: [] | ||
- | ||
name: 'Type: Bug' | ||
color: ee0701 | ||
description: 'Bug or Bug fixes' | ||
aliases: [] | ||
- | ||
name: 'Type: CI' | ||
color: ffd412 | ||
description: 'Changes to CI configuration files and scripts' | ||
aliases: [] | ||
- | ||
name: 'Type: Dependencies' | ||
color: 0366d6 | ||
description: 'Dependency issues or Changes to dependency files' | ||
aliases: [] | ||
- | ||
name: 'Type: Documentation' | ||
color: 0e8a16 | ||
description: 'Documentation only changes' | ||
aliases: [] | ||
- | ||
name: 'Type: Feature' | ||
color: 1d76db | ||
description: 'New Feature' | ||
aliases: [] | ||
- | ||
name: 'Type: Maintenance' | ||
color: abd406 | ||
description: 'Repository Maintenance' | ||
aliases: [] | ||
- | ||
name: 'Type: Meta' | ||
color: BFD4F2 | ||
description: 'Type: Meta - Related to repository itself' | ||
aliases: [] | ||
- | ||
name: 'Type: Question' | ||
color: cc317c | ||
description: 'Further information is requested' | ||
aliases: [] | ||
- | ||
name: 'Type: Refactoring' | ||
color: fbca04 | ||
description: 'A code change that neither fixes a bug nor adds a feature' | ||
aliases: [] | ||
- | ||
name: 'Type: Release' | ||
color: '5319E7' | ||
description: 'Related to release process' | ||
aliases: [] | ||
- | ||
name: 'Type: Security' | ||
color: ee0701 | ||
description: 'Vulnerability disclosure or Fixing security issue' | ||
aliases: [] | ||
- | ||
name: 'Type: Testing' | ||
color: '257759' | ||
description: 'Adding missing tests or correcting existing tests' | ||
aliases: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Export label | ||
|
||
on: | ||
label: | ||
types: [created, edited, deleted] | ||
workflow_dispatch: | ||
|
||
permissions: | ||
issues: read | ||
contents: write | ||
pull-requests: write | ||
|
||
jobs: | ||
export_labels: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: EndBug/export-label-config@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
create_pull_request: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
needs: | ||
- export_labels | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: main | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: Label config | ||
- run: cp labels.yaml .github/labels.yaml | ||
- uses: peter-evans/create-pull-request@v5 | ||
with: | ||
commit-message: Update labels | ||
delete-branch: true | ||
title: Update labels | ||
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | ||
branch: create-pull-request/patch-export-label | ||
add-paths: | | ||
.github/labels.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Sync labels | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- ".github/labels.yaml" | ||
workflow_dispatch: | ||
|
||
permissions: | ||
issues: write | ||
contents: read | ||
|
||
jobs: | ||
label_sync: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 2 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: EndBug/label-sync@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
config-file: .github/labels.yaml | ||
delete-other-labels: true |