Skip to content

Dependabot and Workflow Hardening#92

Merged
piceri merged 1 commit into
mainfrom
piceri/harden-supply-chain
Jun 5, 2026
Merged

Dependabot and Workflow Hardening#92
piceri merged 1 commit into
mainfrom
piceri/harden-supply-chain

Conversation

@piceri
Copy link
Copy Markdown
Contributor

@piceri piceri commented Jun 5, 2026

This changes adds the following changes to increase security posture towards supply chain style attacks:

  • Add three day cooldown to Dependabot updates
  • Be consistent in Dependabot grouping
  • Add GOFLAG -mod=readonly

Signed-off-by: Eric Pickard <piceri@github.com>
@piceri piceri marked this pull request as ready for review June 5, 2026 18:19
@piceri piceri requested a review from a team as a code owner June 5, 2026 18:19
Copilot AI review requested due to automatic review settings June 5, 2026 18:19
Copy link
Copy Markdown
Contributor

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 hardens the repository’s supply-chain posture by enforcing Go module immutability during CI runs and delaying Dependabot update PR creation until new releases have aged for a short cooldown period.

Changes:

  • Set GOFLAGS: "-mod=readonly" for Go-based GitHub Actions jobs to prevent implicit go.mod/go.sum edits during CI.
  • Add a cooldown period of 3 days to Dependabot updates across configured ecosystems.
  • Extend Dependabot grouping consistency by adding a minor-patch group to Docker updates.
Show a summary per file
File Description
.github/workflows/lint.yml Adds GOFLAGS=-mod=readonly to the lint job to ensure module files aren’t modified in CI.
.github/workflows/build.yml Adds GOFLAGS=-mod=readonly to build and test jobs for the same immutability guarantee during compilation/tests.
.github/dependabot.yml Adds a 3-day cooldown to updates and aligns Docker updates with existing minor/patch grouping.

Copilot's findings

Tip

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

  • Files reviewed: 3/3 changed files
  • Comments generated: 0

@piceri piceri merged commit c6742a5 into main Jun 5, 2026
8 checks passed
@piceri piceri deleted the piceri/harden-supply-chain branch June 5, 2026 18:50
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