Skip to content

Improve GH Actions and Dependabot#72

Merged
matkt merged 4 commits intomainfrom
improvement-gh-actions-and-dependabot
Mar 12, 2026
Merged

Improve GH Actions and Dependabot#72
matkt merged 4 commits intomainfrom
improvement-gh-actions-and-dependabot

Conversation

@eloi010
Copy link
Copy Markdown
Collaborator

@eloi010 eloi010 commented Feb 12, 2026

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.yml to 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 permissions to empty and then granting only required job-level permissions (e.g., contents: write for releases, contents: read for CI and security scanning), and updates checkout usage to actions/checkout@v6 where applied.

Written by Cursor Bugbot for commit 08444dc. This will update automatically on new commits. Configure here.

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedactions/​checkout@​de0fac2e4500dabe0009e67214ff5f5447ce83dd100100100100100

View full report

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.yml to 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.

Copy link
Copy Markdown
Collaborator

@matkt matkt left a comment

Choose a reason for hiding this comment

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

LGTM

@matkt matkt merged commit 3df748b into main Mar 12, 2026
18 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.

3 participants