diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..1f658bf --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,43 @@ +- name: bug + color: d93f0b + description: Something isn't working as expected + +- name: new feature + color: "159818" + description: Requests to add new functionality + +- name: enhancement + color: c5def5 + description: Changes to an existing feature + +- name: documentation + color: e0d216 + description: Related to the docs + +- name: internal + color: f4ca81 + description: Changes that aren't user-facing + +- name: "tag: duplicate" + color: "2e3234" + description: Similar issue already exists + +- name: "tag: in-progress" + color: "2e3234" + description: Task is in progress + +- name: "tag: completed" + color: "2e3234" + description: Issue was completed successfully + +- name: "tag: wontfix" + color: "2e3234" + description: Proposal will not be implemented + +- name: "tag: help wanted" + color: "2e3234" + description: Maintainer is looking for help with the issue + +- name: "tag: good first issue" + color: "2e3234" + description: Issues suitable for new contributors diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000..78c2220 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,21 @@ +name: Update issue labels + +on: + pull_request: + branches: + - master + paths: + - .github/labels.yml + - .github/workflows/labeler.yml + +jobs: + labeler: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run Labeler + uses: crazy-max/ghaction-github-labeler@v5 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}