From 7f0efdeb1edda4ba207cba7d98dcdfe004af6dae Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Fri, 9 Jan 2026 19:49:19 +0100 Subject: [PATCH 1/2] chore: add CODEOWNERS file (#2898) Require approval from @davidleomay and @TaprootFreak for all PRs. --- .github/CODEOWNERS | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000000..5bc30ac2f2 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,5 @@ +# Code Owners for DFXswiss/api +# These users must approve all pull requests to protected branches + +# Default owners for everything in the repo +* @davidleomay @TaprootFreak From b2ac32a64ddca51115bdb096f063476a25234e01 Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Fri, 9 Jan 2026 20:42:56 +0100 Subject: [PATCH 2/2] chore: remove footer text from PR Review Bot (#2902) * chore: remove footer text from PR Review Bot * chore: remove header from PR Review Bot comments * fix: include all comment types in bot comment detection --- .github/workflows/pr-review-bot.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-review-bot.yml b/.github/workflows/pr-review-bot.yml index 74e72ab57c..e2573e003c 100644 --- a/.github/workflows/pr-review-bot.yml +++ b/.github/workflows/pr-review-bot.yml @@ -223,12 +223,7 @@ jobs: return; } - const body = `# 🤖 PR Review Bot - - ${comments.join('\n\n---\n\n')} - - --- - This is an automated review. Please address the issues above.`; + const body = comments.join('\n\n---\n\n'); // Find existing bot comment const existingComments = await github.rest.issues.listComments({ @@ -238,7 +233,14 @@ jobs: }); const botComment = existingComments.data.find(c => - c.user?.type === 'Bot' && c.body?.includes('🤖 PR Review Bot') + c.user?.login === 'github-actions[bot]' && ( + c.body?.includes('Unverified Commits') || + c.body?.includes('Non-Conventional Commits') || + c.body?.includes('ESLint:') || + c.body?.includes('TypeScript:') || + c.body?.includes('Security:') || + c.body?.includes('TODOs/FIXMEs') + ) ); if (botComment) {