Add SHA-pinned Dependency Review workflow by nodeselector · Pull Request #83 · github/gh-actions-lock · GitHub
Skip to content

Add SHA-pinned Dependency Review workflow - #83

Merged
nodeselector merged 1 commit into
mainfrom
nodeselector-dependency-review-action
Jul 9, 2026
Merged

nodeselector merged 1 commit into
mainfrom
nodeselector-dependency-review-action

Conversation

@nodeselector

Copy link
Copy Markdown
Collaborator

What

Adds a dependency-review workflow that runs actions/dependency-review-action on pull requests, flagging vulnerable or disallowed dependency changes before they merge.

Details

  • New workflow at .github/workflows/dependency-review.yml, triggered on pull_request with contents: read.
  • actions/dependency-review-action is SHA-pinned to a1d282b (v5.0.0).
  • Regenerated .github/workflows/actions.lock to onboard the new workflow.

Verification

gh actions-lock --no-fix reports valid:

$ gh actions-lock --no-fix --json=valid
{ "lockfile_version": "v0.0.2", "valid": true }

gofmt clean.

Add a dependency-review workflow that runs actions/dependency-review-action
on pull requests to flag vulnerable or disallowed dependency changes before
they merge. The action is pinned to its v5.0.0 commit SHA, and the lockfile
is regenerated so `gh actions-lock --no-fix` reports valid.
@nodeselector
nodeselector requested a review from a team as a code owner July 9, 2026 17:55
Copilot AI review requested due to automatic review settings July 9, 2026 17:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Not ready to approve

The new workflow is missing the pull-requests: read permission required by actions/dependency-review-action to read PR data.

Pull request overview

Adds a new GitHub Actions workflow to run dependency review checks on pull requests, and updates the gh actions-lock lockfile so the new workflow’s actions are covered by the repository’s action-locking mechanism.

Changes:

  • Added .github/workflows/dependency-review.yml to run actions/dependency-review-action on pull_request events.
  • Updated .github/workflows/actions.lock to include the new workflow’s referenced actions and their resolved commits.
File summaries
File Description
.github/workflows/dependency-review.yml Introduces a PR-triggered dependency review job using actions/dependency-review-action.
.github/workflows/actions.lock Regenerated to include the new workflow and the resolved action SHAs for its dependencies.

Review details

  • Files reviewed: 1/2 changed files
  • Comments generated: 2
  • Review effort level: Low

Note

Your feedback helps us improve the quality of this feature.
Please use 👍 or 👎 to tell us whether this assessment is correct.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/dependency-review.yml
Comment thread .github/workflows/dependency-review.yml
@nodeselector
nodeselector merged commit 6e1ad61 into main Jul 9, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants