Skip to content
Draft
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
4 changes: 1 addition & 3 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: PR CI

"on":
pull_request:
branches:
- main
- "codex/ccu-stack-*"
branches: [main]
types: [opened, reopened, synchronize, ready_for_review, converted_to_draft, closed]

permissions:
Expand Down
4 changes: 2 additions & 2 deletions tests/ci/test_workflows.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def named_step(workflow, job_name, step_name)
assert_equal(["pull_request"], pr.fetch("on").keys,
"PR workflow must use only pull_request")
pull_request = pr.fetch("on").fetch("pull_request")
assert_equal(["main", "codex/ccu-stack-*"], pull_request.fetch("branches"),
"PR workflow must target main and the temporary CCU stack")
assert_equal(["main"], pull_request.fetch("branches"),
"PR workflow must target main")
assert_equal(%w[opened reopened synchronize ready_for_review converted_to_draft closed],
pull_request.fetch("types"), "PR event types differ")
assert_equal({"contents" => "read"}, pr.fetch("permissions"),
Expand Down