From 56bec0699a3acd0519317d4cc4fe4dcf3fff8b9e Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 26 May 2026 08:47:07 +0800 Subject: [PATCH 1/2] Skip pr-template check if PR comes from Dependabot. --- .github/workflows/pr-checklist.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-checklist.yml b/.github/workflows/pr-checklist.yml index 2e16b5b..5b6ce52 100644 --- a/.github/workflows/pr-checklist.yml +++ b/.github/workflows/pr-checklist.yml @@ -9,6 +9,7 @@ jobs: check-pr-template: name: Check PR template runs-on: ubuntu-latest + if: github.event.pull_request.user.login != 'dependabot[bot]' steps: - name: Check PR body env: From 639d41368d00d4549819404a62976e672035cb79 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Tue, 26 May 2026 08:52:51 +0800 Subject: [PATCH 2/2] Also exclude brutus-created PRs. --- .github/workflows/coc-update.yml | 2 +- .github/workflows/pr-checklist.yml | 2 +- .github/workflows/pre-commit-update.yml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/coc-update.yml b/.github/workflows/coc-update.yml index e23e231..43f34a6 100644 --- a/.github/workflows/coc-update.yml +++ b/.github/workflows/coc-update.yml @@ -65,7 +65,7 @@ jobs: working-directory: ./targetrepo run: | git config --local user.email "brutus@beeware.org" - git config --local user.name "Brutus (robot)" + git config --local user.name "Brutus[bot]" - name: Replace Code of Conduct working-directory: ./targetrepo run: | diff --git a/.github/workflows/pr-checklist.yml b/.github/workflows/pr-checklist.yml index 5b6ce52..f535130 100644 --- a/.github/workflows/pr-checklist.yml +++ b/.github/workflows/pr-checklist.yml @@ -9,7 +9,7 @@ jobs: check-pr-template: name: Check PR template runs-on: ubuntu-latest - if: github.event.pull_request.user.login != 'dependabot[bot]' + if: github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.user.login != 'Brutus[bot]' steps: - name: Check PR body env: diff --git a/.github/workflows/pre-commit-update.yml b/.github/workflows/pre-commit-update.yml index 489ee4d..bbfcf6e 100644 --- a/.github/workflows/pre-commit-update.yml +++ b/.github/workflows/pre-commit-update.yml @@ -78,7 +78,7 @@ jobs: - name: Configure git run: | git config user.email "brutus@beeware.org" - git config user.name "Brutus (robot)" + git config user.name "Brutus[bot]" - name: Set up Python uses: actions/setup-python@v6.2.0 @@ -127,8 +127,8 @@ jobs: title: "Bump ${{ steps.pr.outputs.hook-name }} from ${{ steps.update.outputs.vers-bump-str }}" branch: "${{ env.BRANCH_PREFIX }}/${{ steps.pr.outputs.hook-name }}" commit-message: "Bump ${{ steps.pr.outputs.hook-name }} from ${{ steps.update.outputs.vers-bump-str }}" - committer: "Brutus (robot) " - author: "Brutus (robot) " + committer: "Brutus[bot] " + author: "Brutus[bot] " body: "Bumps `pre-commit` hook for `${{ steps.pr.outputs.hook-name }}` from ${{ steps.update.outputs.vers-bump-str }} and ran the update against the repo." labels: "dependencies"