Skip to content

Avoid common App Store and Google Play rejections. Open playbook and pre-submission guard with 117 documented rejection patterns and fixes, privacy manifest and Data safety checks, 95 tracked deadlines (EU AI Act, DSA, COPPA, age laws), and a skill for AI coding agents.

Auto-close scheduled-bot regeneration PRs (#442)

Mirza Iqbal0169a7f6a9f4
diff --git a/.github/workflows/auto-close-bot-prs.yml b/.github/workflows/auto-close-bot-prs.yml
new file mode 100644
index 0000000..be89e9f
--- /dev/null
+++ b/.github/workflows/auto-close-bot-prs.yml
@@ -0,0 +1,24 @@
+name: Auto-close bot PRs
+# Closes scheduled-bot regeneration PRs (Jules and similar). Criteria doc 2026-08-30.
+on:
+ pull_request_target:
+ types: [opened, reopened]
+permissions:
+ pull-requests: write
+ contents: write
+jobs:
+ close-bot-pr:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Close if head branch matches bot pattern
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ PR: ${{ github.event.pull_request.number }}
+ REPO: ${{ github.repository }}
+ REF: ${{ github.event.pull_request.head.ref }}
+ run: |
+ if printf '%s' "$REF" | grep -qE 'jules|[0-9]{10,}'; then
+ gh pr close "$PR" --repo "$REPO" --delete-branch --comment "Closed automatically. This repo does not accept scheduled bot regeneration PRs. Master carries the canonical, tested monitor suite. See AGENTS.md."
+ else
+ echo "not a bot pattern, leaving open"
+ fi