From d431480f7cb8ffb2f6905d1ff29124e42daff42c Mon Sep 17 00:00:00 2001 From: Alexandru Bucur Date: Thu, 25 Mar 2021 22:45:24 +0100 Subject: [PATCH 1/2] pr labeler feature --- .github/workflows/pr-labeler.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/pr-labeler.yml diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml new file mode 100644 index 00000000..6c5d4bef --- /dev/null +++ b/.github/workflows/pr-labeler.yml @@ -0,0 +1,14 @@ +name: PR Labeler +on: + pull_request: + types: [opened] + +jobs: + pr-labeler: + runs-on: ubuntu-latest + steps: + - uses: TimonVS/pr-labeler-action@v3 + with: + configuration-path: .github/pr-labeler.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 6579573b0e47270ad520fa08f17cc3c2f60d3b5c Mon Sep 17 00:00:00 2001 From: Alexandru Bucur Date: Thu, 25 Mar 2021 23:08:09 +0100 Subject: [PATCH 2/2] pr labeler rules --- .github/pr-labeler.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .github/pr-labeler.yml diff --git a/.github/pr-labeler.yml b/.github/pr-labeler.yml new file mode 100644 index 00000000..92d1dabb --- /dev/null +++ b/.github/pr-labeler.yml @@ -0,0 +1,3 @@ +feature: ['feature/*', 'feat/*', 'feature-*'] +fix: ['fix/*', 'fix-*', 'bugfix/*', 'bugfix-', 'hotfix-', 'hotfix-'] +chore: ['chore/*', 'chore-*'] \ No newline at end of file