Repository navigation
Claude workflows: strict permission mode, action v1.0.280, Semgrep severities, Dependabot cooldown - #132
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 call no allow rule covers, so --allowedTools stops being a strict list. The review step already set it; the @claude bot and the verdict extractor now do too. - claude-code-action moves to v1.0.280 (469588f) on every step. - The Semgrep comment counted only the older severity names (ERROR, WARNING, INFO) and labeled everything else LOW, so a finding reported as MEDIUM or HIGH was counted as zero and shown as LOW. One jq mapping now feeds both the counts and the table. - The verdict extractor counts only the review's own findings, never the Semgrep or CI counts the review restates (with the severities mapped, those can carry HIGH counts for findings already in the repository). - Every Dependabot ecosystem waits 7 days after a release before a version update (cooldown). Security updates are not delayed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Semgrep (OSS): no findingsClean scan. Posted before the Claude review. |
CI Tests✅ Tests passed: the pytest suite across Python 3.10/3.11/3.12 (and bash syntax checks) are green on Posted before the Claude review so the test outcome is folded into the review. |
Review Gate
|
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 and the verdict extractor now set 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. Four new checks fail on the previous files: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.test_the_extractor_counts_only_the_reviews_own_findings.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