diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index f6489f24..ae8ab0d7 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -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: diff --git a/tests/ci/test_workflows.rb b/tests/ci/test_workflows.rb index 4a0e099e..69690d28 100644 --- a/tests/ci/test_workflows.rb +++ b/tests/ci/test_workflows.rb @@ -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"),