forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 5
chore(ci): define Github labels as code with a workflow #93
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
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
b14d520
chore(ci): define github labels in code
qdm12 320427b
Add DO NOT MERGE label migration
qdm12 9635d3a
Remove label-skip workflow
qdm12 c619f56
Remove invalid code quality description line
qdm12 3ec283d
Change complexity green square to blue square
qdm12 037c943
Remove Closed: bad issue label
qdm12 e56bec0
chore: migrate instead of delete old labels (#95)
ARR4N File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,71 @@ | ||
| # libevm specific labels | ||
| - name: "Status: 🔴 Blocked by Geth sync" | ||
| color: "959a9c" | ||
| description: "This needs to wait for the next fork sync with the geth repository 🍴" | ||
| - name: "Status: 🔴 DO NOT MERGE" | ||
| color: "959a9c" | ||
| from_name: "DO NOT MERGE" | ||
|
|
||
| # General categories | ||
| - name: "Category: New feature 🆕" | ||
| color: "ffc7ea" | ||
| - name: "Category: Documentation ✒️" | ||
| description: "A problem with the readme or a code comment." | ||
| color: "ffc7ea" | ||
| - name: "Category: Bug 🐛" | ||
| color: "ffc7ea" | ||
| from_name: "bug" | ||
| - name: "Category: Investigation 🔍" | ||
| color: "ffc7ea" | ||
| - name: "Category: CI ⛓️" | ||
| description: "Anything related to continuous integration" | ||
| color: "ffc7ea" | ||
| - name: "Category: Testing 🧪" | ||
| description: "Unit tests, integration tests, etc." | ||
| color: "ffc7ea" | ||
| - name: "Category: Code quality ✏️" | ||
| description: "Unit tests, integration tests, etc." | ||
| color: "ffc7ea" | ||
| - name: "Category: Performance 🚀" | ||
| color: "ffc7ea" | ||
| - name: "Category: Label missing ❗" | ||
| description: "Use this if it feels a label should be added to label this issue" | ||
| color: "ffc7ea" | ||
|
|
||
| # Status | ||
| - name: "Status: 🗯️ Waiting for feedback" | ||
| color: "f7d692" | ||
| - name: "Status: 🔴 Blocked" | ||
| color: "f7d692" | ||
| description: "Blocked by another issue or pull request" | ||
| - name: "Status: 🟡 Nearly resolved" | ||
| color: "f7d692" | ||
| description: "This might be resolved or is about to be resolved" | ||
|
|
||
| # Priority | ||
| - name: "Priority: 🚨 Urgent" | ||
| color: "03adfc" | ||
| - name: "Priority: 📌 Before next release" | ||
| color: "03adfc" | ||
| description: "Has to be done before the next release" | ||
| - name: "Status: 🔒 After next release" | ||
| color: "03adfc" | ||
| description: "Will be done after the next release" | ||
| - name: "Priority: 💤 Low priority" | ||
| color: "03adfc" | ||
|
|
||
| # Complexity | ||
| - name: "Complexity: 🟥 Hard to do" | ||
| color: "ff9efc" | ||
| - name: "Complexity: 🟩 Easy to do" | ||
qdm12 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| color: "ff9efc" | ||
|
|
||
| # Closing reason | ||
| - name: "Closed: 👥 Duplicate" | ||
| color: "959a9c" | ||
| description: "Issue duplicates an existing issue" | ||
| - name: "Closed: ⚰️ Inactive" | ||
| color: "959a9c" | ||
| description: "No answer was received for weeks" | ||
| - name: "Closed: 🗑️ Bad issue" | ||
ARR4N marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| color: "959a9c" | ||
qdm12 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
This file contains hidden or 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,15 @@ | ||
| name: labels | ||
| on: | ||
| pull_request: | ||
| paths-ignore: | ||
| - .github/labels.yml | ||
| - .github/workflows/labels.yml | ||
|
|
||
| jobs: | ||
| labeler: | ||
| permissions: | ||
| actions: read | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: No trigger path triggered for required workflow. | ||
| run: exit 0 |
This file contains hidden or 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,24 @@ | ||
| name: labels | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| paths: | ||
| - .github/labels.yml | ||
| - .github/workflows/labels.yml | ||
| pull_request: # dry run only | ||
| paths: | ||
| - .github/labels.yml | ||
| - .github/workflows/labels.yml | ||
|
|
||
| jobs: | ||
| labeler: | ||
| permissions: | ||
| contents: read | ||
| issues: write | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: crazy-max/ghaction-github-labeler@v5 | ||
| with: | ||
| dry-run: ${{ github.event_name == 'pull_request' }} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.