Repository navigation
Add Dependabot and CodeQL; harden workflow checkouts - #16
Merged
Merged
Conversation
- .github/dependabot.yml: weekly grouped updates for the GitHub Actions (the repository's only dependencies), with a 7-day cooldown so a hijacked release has time to be caught. - CodeQL workflow analysing the workflows themselves (script injection, token permissions); runs on workflow changes and weekly. - Every action pin carries its exact version (v5.1.0, 2.40.0, ...) so Dependabot can label and update it; stale version notes removed. - actions/checkout no longer stores the token in .git/config (persist-credentials: false); no job pushes with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011ejUFSkKi2KuJi647biNmu
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Makes the existing guard explicit (event, branch and repository) on both jobs, as CodeQL's untrusted-checkout query expects. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011ejUFSkKi2KuJi647biNmu
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.
Supply-chain upkeep for the repository. No plugin code changes and no version bump, so merging doesn't release anything.
.github/dependabot.yml): watches the GitHub Actions, which are the only dependencies here; the plugin ships no Composer or npm code.ci:prefix anddependencies/github-actionslabels.codeql.yml): CodeQL has no PHP support, but it analyses GitHub Actions workflows for script injection from untrusted input, over-broad token permissions and risky triggers (thesecurity-extendedqueries). It runs on PRs that touch.github/, on main, and weekly, and results go to the Security tab.uses:line now has its version comment (# v5.1.0,# 2.40.0,# v1.1.9…), so Dependabot can label its PRs and keep the comments right. The header notes listing versions, which would have gone stale, are gone.persist-credentials: falseon every checkout: the workflow token no longer sits in.git/configfor later steps to read. No job pushes through it: the wiki job clones with its own token, and releases usegh.Generated by Claude Code