Skip to content

Commit 4c02011

Browse files
Sg312claude
andcommitted
ci(companion-check): run on PRs targeting dev
Feature PRs now target dev on both repos, so the companion lockstep check must fire there too (trigger filter + manual re-scan loop). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 33f9d64 commit 4c02011

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/companion-pr-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: companion-pr-check
22

3-
# Soft, NON-BLOCKING warning: when a PR targeting staging/main declares a
3+
# Soft, NON-BLOCKING warning: when a PR targeting dev/staging/main declares a
44
# cross-repo "Companion:" PR, surface whether that companion is merged yet, so
55
# copilot and sim stay in lockstep (a change in one often needs the other).
66
#
@@ -19,7 +19,7 @@ on:
1919
# re-edit the PR (or run this workflow manually via the Actions tab).
2020
pull_request:
2121
types: [opened, edited, reopened, synchronize]
22-
branches: [staging, main]
22+
branches: [dev, staging, main]
2323
workflow_dispatch: {}
2424

2525
permissions:
@@ -199,8 +199,8 @@ jobs:
199199
if (context.eventName === 'pull_request') {
200200
await checkPR(context.payload.pull_request);
201201
} else {
202-
// workflow_dispatch only: manual full re-scan of open staging/main PRs.
203-
for (const b of ['staging', 'main']) {
202+
// workflow_dispatch only: manual full re-scan of open dev/staging/main PRs.
203+
for (const b of ['dev', 'staging', 'main']) {
204204
const prs = await github.paginate(github.rest.pulls.list, { owner, repo, base: b, state: 'open', per_page: 100 });
205205
for (const pr of prs) await checkPR(pr);
206206
}

0 commit comments

Comments
 (0)