Repository navigation
ci: run verify on every pull request and add Dependabot config - #14
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Runs p/default and p/trailofbits at ERROR severity with --baseline-commit set to the pull request base, so existing findings do not fail it. The image and checkout are pinned by digest and SHA. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Every ecosystem waits 7 days before proposing a new release. The Semgrep job uses the container image: form, and a docker entry for /.github/workflows lets Dependabot bump its tag and digest.
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 and why
The branch ruleset on
mainrequires a status check nameddefault, but no workflow in this repository reports it, so every merge has needed an admin bypass.verify-skills.ymlalready runs the right checks as a job namedverify, but itspaths:filter skips it on pull requests that touch other files, and GitHub leaves a skipped required check pending. This PR removes that filter soverifyruns on every pull request, and the ruleset should requireverifyinstead ofdefault.verifyjobmake verify./.maintainer/validate_release.sh --skip-verifyBoth steps take seconds, so the job runs on every pull request instead of filtering by path. The PR also adds
permissions: contents: readand pinsactions/checkoutandactions/setup-nodeto full commit SHAs, with the version in a trailing comment.Dependabot
.github/dependabot.ymlruns weekly, groups minor and patch updates into one PR, and caps open pull requests at 50. Dependabot PRs get no Actions secrets, and theverifyjob uses none./Hardening
dockerentry for/.github/workflowsis removed. No workflow here uses a container image now that Semgrep has moved out.release-skills.ymlgets a top-levelpermissions: contents: read. Thereleasejob keeps its owncontents: write.Semgrep
This PR no longer adds a Semgrep job. Semgrep runs from
.github/workflows/semgrep.ymlin PrunaAI/.github (PrunaAI/.github#1), which an org ruleset will require on every repository's default branch.Before merging
Change the required status check in this repository's ruleset from
defaulttoverifyfirst. Until then this PR fails its own required check. The org and repo rule changes are tracked in PrunaAI/prunatree#639.Testing
dependabot.ymlvalidated withcheck-jsonschema --builtin-schema vendor.dependabot.verify-skills.ymlchecked withactionlint.Commits