Skip to content

Pin GitHub Actions to SHAs and add Dependabot - #11

Merged
externl merged 2 commits into
zeroc-ice:mainfrom
externl:dependabot-harden
Jun 29, 2026
Merged

Pin GitHub Actions to SHAs and add Dependabot#11
externl merged 2 commits into
zeroc-ice:mainfrom
externl:dependabot-harden

Conversation

@externl

@externl externl commented Jun 29, 2026

Copy link
Copy Markdown
Member

Pins every third-party GitHub Action to a full commit SHA (with the version in a trailing comment) and adds a Dependabot config to keep those pins current, matching the setup used across the other repos.

  • Pins all actions in the workflows so a moved tag can't change what CI runs.
  • Adds a github-actions Dependabot block: monthly schedule, 7-day cooldown, and a single catch-all group so updates arrive as one PR.

Copilot AI review requested due to automatic review settings June 29, 2026 17:53
@externl
externl merged commit 87b3722 into zeroc-ice:main Jun 29, 2026
14 checks passed

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.

Pull request overview

Note

Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.

Pins third-party GitHub Actions to commit SHAs for supply-chain safety and adds a Dependabot configuration to keep those pins updated.

Changes:

  • Pinned all uses: references in the CI workflow to full commit SHAs with version comments.
  • Added a Dependabot config for github-actions updates with grouping.

Reviewed changes

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

File Description
.github/workflows/ci.yml Replaces floating action tags with full commit SHAs + version comments.
.github/dependabot.yml Introduces Dependabot updates for GitHub Actions with a grouped update strategy.

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

Comment thread .github/dependabot.yml
Comment on lines +5 to +8
schedule:
interval: monthly
cooldown:
default-days: 7

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

cooldown is a supported Dependabot key — it's in the options reference (default-days, semver-major-days, etc.). It's a relatively recent addition, so it likely postdates the schema this review was checked against. The config parses and runs fine — Dependabot is already opening grouped PRs across this org using the same setup, so no change is needed here.

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