Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
8 changes: 4 additions & 4 deletions packages/bridge/tests/auto-approve-workflow.test.js
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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',
);
});

Expand Down
Loading