From ff6402aec66beedd4cf57d37d4ef056feb5ec81e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Sodr=C3=A9?= Date: Sun, 17 Jan 2021 18:26:00 -0500 Subject: [PATCH 1/2] Add pr-labeler.yml We use f/*, chore/*, or I/* --- .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 0000000..37c870f --- /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 # optional, .github/pr-labeler.yml is the default value + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 9296a3113f925367211cf56f6e832ed468a76b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Sodr=C3=A9?= Date: Sun, 17 Jan 2021 18:29:14 -0500 Subject: [PATCH 2/2] Add pr-labeler configuration --- .github/pr-labeler.yml | 11 +++++++++++ 1 file changed, 11 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 0000000..e1083a4 --- /dev/null +++ b/.github/pr-labeler.yml @@ -0,0 +1,11 @@ +feature: + - feature/* + - feat/* + - f/* + - f-* +fix: + - fix/* + - issue/* + - i/* + - i-* +chore: chore/*