From c6952dfd8af3e3acfa1a8cab25c3a423aa320f8d Mon Sep 17 00:00:00 2001 From: Icaro0310 Date: Sun, 25 Oct 2026 15:03:50 +0000 Subject: [PATCH] chore(ci): repin pr-approve gate to @v1.9 Generated with [Devin](https://devin.ai) & QA Engineer Icaro Galvao Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .github/workflows/auto-approve.yml | 2 +- CHANGELOG.md | 5 +++++ packages/bridge/tests/auto-approve-workflow.test.js | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 2b575d7..b27abc4 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -41,4 +41,4 @@ jobs: permissions: contents: read pull-requests: write - uses: Icaro0310/devin-powerups/.github/workflows/pr-approve.yml@v1.6 + uses: Icaro0310/devin-powerups/.github/workflows/pr-approve.yml@v1.9 diff --git a/CHANGELOG.md b/CHANGELOG.md index dffd490..4053041 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ port 8788, `/api/state` JSON assertions (agents/services/events + integer `ts`), `/` HTML probe, store isolation via `OFFICE_*`/`HOME`/ XDG overrides, and trap-based cleanup. +- **CI** — `auto-approve` repinned to the shared `pr-approve` gate at + v1.9 (was v1.6): the self-cancel fix (a successful approval no longer + renders as a failed check), the fresh-head recheck, and paginated + dedup; `packages/bridge/tests/auto-approve-workflow.test.js` pins the + caller contract. - **CI** — `auto-approve` repinned to the shared `pr-approve` gate at v1.6 (was v1.3) and gains the `pull_request_review_comment` trigger, so fix-commit replies re-evaluate the gate on the same head; diff --git a/packages/bridge/tests/auto-approve-workflow.test.js b/packages/bridge/tests/auto-approve-workflow.test.js index ae072ce..bbb069b 100644 --- a/packages/bridge/tests/auto-approve-workflow.test.js +++ b/packages/bridge/tests/auto-approve-workflow.test.js @@ -1,6 +1,6 @@ // Static assertions for .github/workflows/auto-approve.yml. The // caller is thin by design (triggers + pin to the reusable pr-approve -// gate in devin-powerups), so these tests pin the v1.6 caller +// gate in devin-powerups), so these tests pin the v1.9 caller // contract — the gate version, the pull_request_review_comment // trigger that re-evaluates the gate on fix-commit replies, and the // scoped job permissions. Text assertions are deliberate — the repo @@ -14,12 +14,12 @@ import { join } from 'node:path'; const root = fileURLToPath(new URL('../../../', import.meta.url)); const wf = (name) => readFileSync(join(root, '.github', 'workflows', name), 'utf8'); -test('auto-approve: gate pin is exactly v1.6', () => { +test('auto-approve: gate pin is exactly v1.9', () => { const y = wf('auto-approve.yml'); assert.match( y, - /uses: Icaro0310\/devin-powerups\/\.github\/workflows\/pr-approve\.yml@v1\.6/, - 'v1.6 adds cross-repo fix anchors and gate-eligible concurrency; a silent downgrade must fail here', + /uses: Icaro0310\/devin-powerups\/\.github\/workflows\/pr-approve\.yml@v1\.9/, + 'v1.9 fixes the self-cancel (successful approval no longer renders as a failed check) and adds fresh-head recheck + paginated dedup; a silent downgrade must fail here', ); });