fix: detect unpinned workflow actions#113
Open
nyxst4ck wants to merge 1 commit into
Open
Conversation
Co-Authored-By: claude-flow <ruv@ruv.net>
nyxst4ck
force-pushed
the
fix/detect-unpinned-workflow-actions
branch
from
June 15, 2026 18:57
2c257ed to
ad469e6
Compare
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.
Summary
uses:entries in.github/workflows/*.ymland.yamlfiles that reference tags or branches instead of full 40-character commit SHAs.Addresses #112.
Test plan
python -m pytest claudecode/test_workflow_security.py claudecode/test_main_function.py claudecode/test_github_action_audit.py -q- 35 passedpython -m ruff check claudecode/workflow_security.py claudecode/github_action_audit.py claudecode/test_workflow_security.py claudecode/test_main_function.py- passedpython -m py_compile claudecode\workflow_security.py claudecode\github_action_audit.py- passedpython -m pytest claudecode -q -k "not test_anthropic_api_key_handling and not test_full_workflow_with_real_pr_structure and not test_workflow_with_llm_filtering and not test_workflow_with_no_security_issues and not test_workflow_with_massive_pr and not test_workflow_with_binary_files"- 173 passed, 6 deselectedAttempted full test suite with
python -m pytest claudecode -q; the local Windows environment still has existing blockers unrelated to this change: the Claude CLI is not installed forTestEnvironmentSetup.test_anthropic_api_key_handling, and five workflow integration tests fail duringTemporaryDirectorycleanup after changing into the temp directory.