From afae679d4b6fd041272fb8e64bac35fbefa2fa39 Mon Sep 17 00:00:00 2001 From: fullstackjam Date: Sat, 16 May 2026 21:13:00 +0800 Subject: [PATCH] chore(ci): remove PR greeting bot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bot commented on every PR with a checklist that duplicates .github/pull_request_template.md (go vet, tests, local verification). CI failures already surface go vet/build issues directly, so the extra comment was noise — especially for repeat contributors. --- .github/workflows/pr-greeting.yml | 39 ------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/pr-greeting.yml diff --git a/.github/workflows/pr-greeting.yml b/.github/workflows/pr-greeting.yml deleted file mode 100644 index 8a98850..0000000 --- a/.github/workflows/pr-greeting.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: PR Greeting - -on: - pull_request_target: - types: [opened] - -permissions: - pull-requests: write - -jobs: - greeting: - runs-on: ubuntu-latest - steps: - - name: Greet new PR - uses: actions/github-script@v7 - with: - script: | - const pr = context.payload.pull_request; - const isFirstPR = pr.author_association === 'FIRST_TIME_CONTRIBUTOR' || - pr.author_association === 'NONE'; - - let message = `👋 Thanks for opening this pull request!\n\n`; - - if (isFirstPR) { - message += `🎉 This is your first PR to OpenBoot — welcome!\n\n`; - } - - message += `**Before merging:**\n`; - message += `- [ ] Code follows existing patterns in the codebase\n`; - message += `- [ ] \`go build ./...\` and \`go vet ./...\` pass\n`; - message += `- [ ] Commit message is clear and descriptive\n\n`; - message += `@fullstackjam will review this soon. Thanks for contributing! 🚀`; - - github.rest.issues.createComment({ - issue_number: pr.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: message - });