Commit Graph
824 Commits
Author SHA1 Message Date
GitHub Actions db77d4d3c9 chore: bump Claude Code to 2.1.304 and Agent SDK to 0.3.304 v1.0.254 2026-10-19 21:37:01 +00:00
GitHub Actions 5eb090f3c3 chore: bump Claude Code to 2.1.303 and Agent SDK to 0.3.303 v1.0.253 2026-10-18 22:29:02 +00:00
GitHub Actions f27be6b65a chore: bump Claude Code to 2.1.302 and Agent SDK to 0.3.302 v1.0.252 2026-10-16 20:54:52 +00:00
GitHub Actions 374f254f5e chore: bump Claude Code to 2.1.301 and Agent SDK to 0.3.301 v1.0.251 2026-10-15 19:24:46 +00:00
GitHub Actions a26b07d8c7 chore: bump Claude Code to 2.1.300 and Agent SDK to 0.3.300 v1.0.250 2026-10-14 18:27:27 +00:00
GitHub Actions 34968b5981 chore: bump Claude Code to 2.1.299 and Agent SDK to 0.3.299 v1.0.249 2026-10-14 02:51:42 +00:00
GitHub Actions 1d6de8cb0c chore: bump Claude Code to 2.1.296 and Agent SDK to 0.3.296 v1.0.248 2026-10-09 19:32:29 +00:00
GitHub Actions 2dca132ff0 chore: bump Claude Code to 2.1.295 and Agent SDK to 0.3.295 v1.0.247 2026-10-08 19:51:21 +00:00
GitHub Actions 38c80c1a32 chore: bump Claude Code to 2.1.294 and Agent SDK to 0.3.294 v1.0.246 2026-10-08 17:21:17 +00:00
GitHub Actions 6fed3ca145 chore: bump Claude Code to 2.1.293 and Agent SDK to 0.3.293 v1.0.245 2026-10-07 18:13:38 +00:00
GitHub Actions 58985842b8 chore: bump Claude Code to 2.1.292 and Agent SDK to 0.3.292 v1.0.244 2026-10-06 19:02:41 +00:00
GitHub Actions 86d88e619d chore: bump Claude Code to 2.1.291 and Agent SDK to 0.3.291 v1.0.243 2026-10-06 03:57:41 +00:00
GitHub Actions 6c690188da chore: bump Claude Code to 2.1.290 and Agent SDK to 0.3.290 v1.0.242 2026-10-05 23:35:40 +00:00
GitHub Actions cab360f656 chore: bump Claude Code to 2.1.289 and Agent SDK to 0.3.289 v1.0.241 2026-10-03 23:10:04 +00:00
GitHub Actions ed670b4cf9 chore: bump Claude Code to 2.1.288 and Agent SDK to 0.3.288 v1.0.240 2026-10-02 20:23:19 +00:00
GitHub Actions 97c5347339 chore: bump Claude Code to 2.1.287 and Agent SDK to 0.3.287 v1.0.239 2026-10-01 18:01:56 +00:00
GitHub Actions 12dd8d74c7 chore: bump Claude Code to 2.1.286 and Agent SDK to 0.3.286 v1.0.238 2026-09-30 19:10:48 +00:00
a8cb0db4d8 ci: security hardening for GitHub Actions workflows that call Claude (#1867)
* Run workflows that call Claude on the egress-firewall runner in auto permission mode

Move every workflow job that signs in to the Claude API from
ubuntu-latest to GitHub's egress-firewall runner (ubuntu-24.04-firewall),
and pass --permission-mode auto to the Claude Code action in each of
them except claude.yml.

In auto permission mode Claude Code reviews each tool call that needs
permission and that the allowed tools do not cover, and runs it only if
Claude Code's safety review passes it. Until now these runs, which have nobody to
ask, refused every such call. The issue triage step, which anyone can
start by opening an issue, also passes a --disallowedTools list for
tools it never needs.

claude.yml answers @claude mentions, and for those the action sets
--permission-mode acceptEdits itself. Its permission mode is unchanged.

Allowed tools, settings, models, triggers and permissions are unchanged.
The network allow list for the firewall follows in the next change.

* Add the network allow list, a security check and CLAUDE.md guidance

- .github/egress-firewall.yaml: the hosts that jobs on the
  egress-firewall runner may reach, in enforce mode, each with what
  uses it.
- .github/workflows/workflow-hardening.yml and
  .github/scripts/check_workflow_hardening.py: a check that fails when a
  job that calls Claude is not on the egress-firewall runner, does not
  pass --permission-mode auto, or when the allow list is missing, empty, not in
  enforce mode or names a host with '*'.
  claude.yml is listed as exempt from the permission mode rule, with
  the reason.
- CLAUDE.md: a "Security hardening for GitHub Actions" section so that
  new and edited workflows keep these protections.

* Pin the model for issue triage

The step named no model, so it ran on Claude Code's default model. That
default changed with Claude Code 2.1.280 to a model that is not available
to this CI account. Pass --model claude-opus-5, the model this repository's test-*.yml
workflows (ANTHROPIC_MODEL) and the Python SDK's example runs are
pinned to for the same reason.

This is independent of the security hardening in the two changes before
it.

* Check settings files and --settings for a permission mode

The security check looked for defaultMode only in an inline 'settings'
input. Also read the file a 'settings' input or a --settings flag in
claude_args names, when it is inside the repository, and fail if it sets
a permission mode.

* Flag defaultMode anywhere in a job that calls Claude

A settings file that an earlier step writes at run time can't be read by
the step-level check, so also fail when the job's definition mentions
defaultMode at all.

* Fail the check when settings name a file outside the repository

The check can't read such a file, so it can't tell whether it sets a
permission mode.

* Run @claude mentions in auto permission mode

The action sets --permission-mode acceptEdits for @claude mentions and
appends the workflow's claude_args after it, so the --permission-mode auto
in claude.yml wins. Drop claude.yml from EXEMPT_FROM_AUTO_MODE.

The check now also fails when a step in auto mode names a model older than
claude-opus-4-6: Claude Code does not run auto mode on those and falls back
to its default permission mode.

---------

Co-authored-by: Claude <[email protected]>
2026-09-30 06:33:49 +00:00
GitHub Actions fd1c128679 chore: bump Claude Code to 2.1.285 and Agent SDK to 0.3.285 v1.0.237 2026-09-29 19:29:07 +00:00
GitHub Actions 8ce9314fa9 chore: bump Claude Code to 2.1.284 and Agent SDK to 0.3.284 v1.0.236 2026-09-28 18:04:13 +00:00
GitHub Actions 756cc22e19 chore: bump Claude Code to 2.1.283 and Agent SDK to 0.3.283 v1.0.235 2026-09-25 21:50:53 +00:00
GitHub Actions 9171db3e57 chore: bump Claude Code to 2.1.282 and Agent SDK to 0.3.282 v1.0.234 2026-09-24 20:26:46 +00:00
GitHub Actions 8cf3482550 chore: bump Claude Code to 2.1.281 and Agent SDK to 0.3.281 v1.0.233 2026-09-23 19:39:47 +00:00
46a42b4323 ci: pin the integration tests to claude-opus-5 (#1853)
The test workflows name no model, so they run on the Claude Code CLI's
default model. Since the bump to Claude Code 2.1.280 that default is Opus 5.5,
which the CI account's API access refuses, so the tests fail and the release
job never runs. Setting ANTHROPIC_MODEL at the workflow level keeps the tests
independent of the CLI's default model, the same fix the Agent SDK for Python
used.

Co-authored-by: Claude Code <[email protected]>
v1.0.232
2026-09-23 09:39:39 -07:00
GitHub Actions 9ca9355b36 chore: bump Claude Code to 2.1.280 and Agent SDK to 0.3.280 2026-09-22 16:39:34 +00:00
GitHub Actions cfc3eb22bf chore: bump Claude Code to 2.1.278 and Agent SDK to 0.3.278 v1.0.231 2026-09-19 03:11:10 +00:00
GitHub Actions 4036a180cf chore: bump Claude Code to 2.1.277 and Agent SDK to 0.3.277 v1.0.230 2026-09-18 18:07:24 +00:00
GitHub Actions a4f54ef2c5 chore: bump Claude Code to 2.1.276 and Agent SDK to 0.3.276 v1.0.229 2026-09-18 02:13:13 +00:00
GitHub Actions 2261fcfc88 chore: bump Claude Code to 2.1.275 and Agent SDK to 0.3.275 v1.0.228 2026-09-17 22:33:23 +00:00
GitHub Actions 3b8197d3d4 chore: bump Claude Code to 2.1.274 and Agent SDK to 0.3.274 v1.0.227 2026-09-17 00:12:40 +00:00
GitHub Actions 7b0b255830 chore: bump Claude Code to 2.1.273 and Agent SDK to 0.3.273 v1.0.226 2026-09-15 20:23:44 +00:00
GitHub Actions bf38e86e58 chore: bump Claude Code to 2.1.272 and Agent SDK to 0.3.272 v1.0.225 2026-09-15 00:43:27 +00:00
GitHub Actions 51db78a4b8 chore: bump Claude Code to 2.1.271 and Agent SDK to 0.3.271 v1.0.224 2026-09-14 22:13:27 +00:00
GitHub Actions 9cdae7f0d9 chore: bump Claude Code to 2.1.270 and Agent SDK to 0.3.270 v1.0.223 2026-09-12 19:46:49 +00:00
GitHub Actions 56cf60fde4 chore: bump Claude Code to 2.1.269 and Agent SDK to 0.3.269 v1.0.222 2026-09-11 19:18:51 +00:00
GitHub Actions 0a8d3c9443 chore: bump Claude Code to 2.1.268 and Agent SDK to 0.3.268 v1.0.221 2026-09-10 20:39:16 +00:00
GitHub Actions 19dda84776 chore: bump Claude Code to 2.1.267 and Agent SDK to 0.3.267 v1.0.220 2026-09-09 20:11:01 +00:00
GitHub Actions 5ccc3a35a6 chore: bump Claude Code to 2.1.266 and Agent SDK to 0.3.266 v1.0.219 2026-09-08 23:56:12 +00:00
GitHub Actions 0d0e0876d3 chore: bump Claude Code to 2.1.265 and Agent SDK to 0.3.265 v1.0.218 2026-09-08 20:38:21 +00:00
GitHub Actions 9c5ddab2e6 chore: bump Claude Code to 2.1.263 and Agent SDK to 0.3.263 v1.0.217 2026-09-06 02:55:18 +00:00
GitHub Actions d75b94d5ad chore: bump Claude Code to 2.1.261 and Agent SDK to 0.3.261 v1.0.216 2026-09-04 19:58:53 +00:00
GitHub Actions ef8bb1e43b chore: bump Claude Code to 2.1.260 and Agent SDK to 0.3.260 v1.0.215 2026-09-03 23:48:49 +00:00
GitHub Actions fa2b2666b7 chore: bump Claude Code to 2.1.259 and Agent SDK to 0.3.259 v1.0.214 2026-09-02 22:34:41 +00:00
GitHub Actions 8251c103ac chore: bump Claude Code to 2.1.258 and Agent SDK to 0.3.258 v1.0.213 2026-09-01 22:33:40 +00:00
GitHub Actions 781d62e9d5 chore: bump Claude Code to 2.1.257 and Agent SDK to 0.3.257 v1.0.212 2026-09-01 17:54:28 +00:00
GitHub Actions 833fb0f8c9 chore: bump Claude Code to 2.1.252 and Agent SDK to 0.3.252 v1.0.211 2026-08-31 19:47:59 +00:00
GitHub Actions a874e9ecd7 chore: bump Claude Code to 2.1.251 and Agent SDK to 0.3.251 v1.0.210 2026-08-28 18:20:42 +00:00
GitHub Actions a60f3e1db3 chore: bump Claude Code to 2.1.250 and Agent SDK to 0.3.250 v1.0.209 2026-08-28 00:50:11 +00:00
GitHub Actions e8c2d7c16c chore: bump Claude Code to 2.1.248 and Agent SDK to 0.3.248 v1.0.208 2026-08-27 22:12:44 +00:00
GitHub Actions 70fec18385 chore: bump Claude Code to 2.1.247 and Agent SDK to 0.3.247 v1.0.207 2026-08-27 00:09:24 +00:00