Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/companion-pr-check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: companion-pr-check

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

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