Repository navigation
Claude workflows: strict permission mode, action v1.0.280, Semgrep severities, Dependabot cooldown - #15
Merged
Conversation
…verities, Dependabot cooldown - Every claude-code-action step passes --permission-mode default. From v1.0.273 a session without a mode starts in auto mode, where a safety review can approve a tool no allow rule covers, so --allowedTools stops being a strict list. The review step already set it; the @claude bot now does too. - claude-code-action moves from v1.0.271 to v1.0.280 (469588f). - The Semgrep comment's summary counted only the older severity names (ERROR, WARNING, INFO), and its table labeled everything else LOW, so a MEDIUM or HIGH finding reported with the newer names was counted as zero and shown as LOW. One jq mapping now feeds both. - Every Dependabot ecosystem waits 7 days after a release (cooldown). Security updates are not delayed. The canonical workflow tests gain a check for each: every action step pins the permission mode, the Semgrep counts and table share one mapping (evaluated on all seven severity names), every Dependabot update has a cooldown of at least 7 days, and in a gated repository the verdict extractor is told not to count the Semgrep or CI summaries the review restates (they can carry HIGH counts for findings already in the repository). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Semgrep (OSS): no findingsClean scan. Posted before the Claude review. |
CI TestsTests passed: ruff lint and the unittest matrix (Python 3.11 to 3.14, Linux and macOS) are green on f4222e1. Posted before the Claude review so the test outcome is folded into the review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
--permission-modestarts in auto mode. A safety review can then approve a tool call that no allow rule covers, so--allowedToolsstops being a strict list. The review step already set--permission-mode default. The@claudeworkflow now sets it too.469588f) on every step.p/ci'sdependabot-missing-cooldownreports MEDIUM, for example. Such a finding was counted as zero and shown as LOW, and the Claude review reads that comment. One jq mapping (sev) now feeds both the counts and the table: ERROR, CRITICAL and HIGH map to HIGH; WARNING and MEDIUM map to MEDIUM; INFO and LOW map to LOW.updates:entry hascooldown: default-days: 7. Dependabot proposes a version only after it has been out a week, since a compromised or mistaken release is usually caught within days. Security updates are not delayed.How it was checked
dependabot.ymlpass the shared workflow checks. Three new checks fail on the previous files (a fourth, for the verdict extractor, skips here: this review is advisory):test_every_action_step_pins_the_permission_mode: exactly one--permission-mode, and it isdefault, on every action step.test_semgrep_counts_and_table_share_one_severity_mapping: every severity use goes throughsev, evaluated on all seven names.test_every_dependabot_update_waits_out_a_cooldown.p/cirules on adependabot.ymlwithout a cooldown report three MEDIUM findings. The previous comment code counted 0 and labeled them LOW; the new mapping counts 3 MEDIUM.🤖 Generated with Claude Code