chore: update dependency management and add guardrail checks#1828
Merged
Conversation
- Added cooldown policy for Dependabot updates in dependabot.yml - Enhanced PR workflow to include additional test targets - Updated Dockerfiles to pin base images by digest - Added test_guardrail_check.py to enforce supply-chain policies - Updated README files to document dependency update policy
…test configuration
Coverage Report •
|
||||||||||||||||||||||||||||||||||||||
purplesmoke05
commented
May 28, 2026
Member
Author
There was a problem hiding this comment.
Added comments above the guardrail tests and helper functions to make their purpose clear.
YoshihitoAso
approved these changes
May 28, 2026
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.
📌 Description
This pull request introduces a repository guardrail test to enforce supply-chain security policies and updates several project files to comply with these new standards.
✅ Related Issues
🔄 Changes
Repository guardrail enforcement and supply-chain security:
tests/test_guardrail_check.py, which enforces that all Docker base images and external Compose images are pinned by digest, prohibits remoteADDand pipe-to-shell installers in Dockerfiles, and checks that the Dependabot configuration enforces a 14-day cooldown for regular updates..github/dependabot.ymlto add acooldownpolicy of 14 days for all managed ecosystems, explicitly define Docker and Docker Compose update blocks, and ensure all images are grouped and pinned by digest.Docker and Compose image pinning:
Dockerfile,tests/Dockerfile_unittest,tests/Dockerfile_anvil,docker-compose.yml) to use digests instead of tags, ensuring reproducible builds and improved supply-chain security.📌 Checklist