diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 00000000000..81c3480fa10 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,72 @@ +# 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 โœ๏ธ" + 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" + 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: ๐Ÿ™… Won't fix" + color: "959a9c" +- name: "Closed: ๐Ÿงบ Invalid" + color: "959a9c" diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml new file mode 100644 index 00000000000..515691cafe1 --- /dev/null +++ b/.github/workflows/labels.yml @@ -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' }}