Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Improve GH Actions and Dependabot#27

Merged
eloi010 merged 5 commits intomainfrom
improve-gh-actions-and-dependabot
Feb 13, 2026
Merged

Improve GH Actions and Dependabot#27
eloi010 merged 5 commits intomainfrom
improve-gh-actions-and-dependabot

Conversation

@eloi010
Copy link
Copy Markdown
Collaborator

@eloi010 eloi010 commented Feb 13, 2026

Improve GH Actions and Dependabot


Note

Low Risk
CI/config-only changes with least-privilege permission tightening; low risk aside from potential workflow permission/checkout regressions.

Overview
Adds a new .github/dependabot.yml to automatically open weekly update PRs for GitHub Actions and npm dependencies, with grouping, labels/assignee, commit message prefixes, and a 7-day cooldown.

Hardens GitHub Actions workflows by defaulting permissions to none and granting only job-level minimums; also disables credential persistence in actions/checkout for the build-lint workflow.

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

@eloi010 eloi010 requested a review from alainncls as a code owner February 13, 2026 10:58
@eloi010 eloi010 requested a review from Copilot February 13, 2026 10:58
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 13, 2026

Deploy Preview for verax-tutorial ready!

Name Link
🔨 Latest commit afabc2f
🔍 Latest deploy log https://app.netlify.com/projects/verax-tutorial/deploys/698f08935e72370008047c7d
😎 Deploy Preview https://deploy-preview-27--verax-tutorial.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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 enhances security and dependency management for GitHub Actions workflows. It implements least-privilege permissions patterns across workflows and introduces automated dependency monitoring through Dependabot.

Changes:

  • Added workflow-level permission lockdowns (permissions: {}) to enforce least-privilege security model
  • Enhanced build-lint workflow with explicit job permissions, credential protection, and better naming
  • Introduced Dependabot configuration for automated GitHub Actions dependency updates with grouping strategy

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/security-code-scanner.yml Added workflow-level permissions lockdown for security hardening
.github/workflows/build-lint.yml Added permissions lockdown, job name, explicit read permissions, and credential persistence prevention
.github/dependabot.yml New Dependabot configuration for GitHub Actions updates with weekly schedule and update grouping

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

Comment thread .github/dependabot.yml
Comment thread .github/dependabot.yml
Comment thread .github/dependabot.yml
Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Comment thread .github/dependabot.yml
include: "scope"
groups:
npm-minor-patch:
update-types: ["minor", "patch"]
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Dependabot npm group missing match criteria

Medium Severity

The npm-minor-patch group in .github/dependabot.yml defines only update-types and no dependency selector like patterns or dependency-type. Dependabot group rules require match criteria, so this block can fail validation and prevent expected npm grouping behavior, reducing or blocking automated dependency update flow.

Fix in Cursor Fix in Web

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


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

Comment thread .github/dependabot.yml
@eloi010 eloi010 merged commit fe67ba0 into main Feb 13, 2026
22 checks passed
@eloi010 eloi010 deleted the improve-gh-actions-and-dependabot branch February 13, 2026 11:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants