Skip to content

Commit 41eefc4

Browse files
dgunningclaude
andauthored
ci: list the agent config guard among main's required checks (#2012)
main now requires three contexts, but python-hatch-workflow.yml still said "exactly two" and regression-tests.yml pointed back to it. An agent following those comments could drop the security gate from branch protection. Comments only. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 229e1ac commit 41eefc4

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/python-hatch-workflow.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@
1313
# to produce them — the few CI minutes a markdown-only run costs are cheaper than
1414
# a merge queue that deadlocks on documentation.
1515
#
16-
# REQUIRED CHECKS ARE PINNED TO JOB NAMES. `main` requires exactly two contexts:
16+
# REQUIRED CHECKS ARE PINNED TO JOB NAMES. `main` requires exactly three contexts,
17+
# two from this file and one from agent-config-guard.yml:
1718
#
1819
# Cassette safety gate
1920
# test-fast (3.13)
21+
# Agent config guard (agent-config-guard.yml: a security gate, never remove)
2022
#
2123
# The second name is generated from the matrix below, which is event-dependent —
2224
# a pull request builds only 3.13, so the context is literally "test-fast (3.13)".

‎.github/workflows/regression-tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
# (the deadlock documented at the top of python-hatch-workflow.yml).
2626
# 2. It is ~26 minutes against the live SEC, so it is far too slow and too
2727
# network-dependent to sit in front of a merge.
28-
# The required contexts stay exactly the two named in python-hatch-workflow.yml.
28+
# The required contexts stay exactly the three listed in python-hatch-workflow.yml.
2929
# Making this one required is the fastest way to deadlock the repository.
3030
pull_request:
3131
branches: [ "main", "5.*.x" ]

0 commit comments

Comments
 (0)