From 56293ad6e1390038e6ede0664cd11ac19087693d Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Sat, 27 Apr 2024 20:28:05 +0200 Subject: [PATCH 1/2] Replace the unmaintaned auto-assign GitHub action --- .github/auto_assign.yml | 2 ++ .github/workflows/pull-request-meta.yml | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 .github/auto_assign.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000..05dbfc0 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,2 @@ +addAssignees: author +runOnDraft: true diff --git a/.github/workflows/pull-request-meta.yml b/.github/workflows/pull-request-meta.yml index 8d269b9..b6c6158 100644 --- a/.github/workflows/pull-request-meta.yml +++ b/.github/workflows/pull-request-meta.yml @@ -10,9 +10,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Assign to author - uses: samspills/assign-pr-to-author@v1.0 - with: - repo-token: '${{ secrets.GITHUB_TOKEN }}' + uses: kentaro-m/auto-assign-action@v2.0.0 # Specify also the minor version because v2 does not exist - name: Add labels uses: TimonVS/pr-labeler-action@v5 From 4bc91a1a7c73ca73b8106d4c0c198a3491b63249 Mon Sep 17 00:00:00 2001 From: Adam Kudrna Date: Sat, 27 Apr 2024 20:28:27 +0200 Subject: [PATCH 2/2] Label `fix/bug/bugfix` branches as `fix` --- .github/pr-labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/pr-labeler.yml b/.github/pr-labeler.yml index 96c65a9..9edf73c 100644 --- a/.github/pr-labeler.yml +++ b/.github/pr-labeler.yml @@ -1,6 +1,6 @@ BC: bc/* feature: feature/* -bug: bugfix/* +fix: ['fix/*', 'bug/*', 'bugfix/*'] refactoring: refactoring/* documentation: ['docs/*', 'documentation/*'] maintenance: maintenance/*