Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this comment.
Pull request overview
This PR updates repository automation/config by adding Dependabot support for GitHub Actions updates and tightening GitHub Actions workflow permissions following least-privilege principles.
Changes:
- Add
.github/dependabot.ymlto enable weekly GitHub Actions dependency updates with grouping/labels/assignees. - Harden workflows by setting default
permissions: {}and granting job-level permissions explicitly. - Update some workflow steps (notably
actions/checkout) to newer major versions.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/workflow.yml |
Locks down default token permissions and adjusts CI job permissions; updates checkout version in assemble. |
.github/workflows/security-code-scanner.yml |
Locks down default token permissions for the security scanner workflow (job still grants required perms). |
.github/workflows/release.yml |
Locks down default token permissions; grants contents: write for release publishing and updates checkout version. |
.github/dependabot.yml |
Introduces Dependabot configuration for GitHub Actions updates with grouping and metadata. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Improve GH Actions and Dependabot
Note
Low Risk
CI/config-only changes; main risk is workflow failures if the tightened permissions or action version bumps break existing automation.
Overview
Adds a new
.github/dependabot.ymlto enable weekly GitHub Actions dependency updates, with PR grouping (core vs third-party), assignees/labels, commit message prefixing, and a 7-day cooldown.Hardens GitHub Actions workflows by defaulting
permissionsto empty and then granting only required job-level permissions (e.g.,contents: writefor releases,contents: readfor CI and security scanning), and updates checkout usage toactions/checkout@v6where applied.Written by Cursor Bugbot for commit 08444dc. This will update automatically on new commits. Configure here.