Skip to content

Pin GitHub Actions and enable their maintenance by the dependabot - #69

Merged
Goran Obradovic (gobradovic) merged 1 commit into
mainfrom
user/olegsych/actionPins
Dec 3, 2026
Merged

Goran Obradovic (gobradovic) merged 1 commit into
mainfrom
user/olegsych/actionPins

Conversation

@olegsych

Copy link
Copy Markdown
Member

Pin GitHub Actions used by the build workflow to specific commits instead of the version tags. This will become mandatory by the
end of this week and help to prevent an action briefly compromised in its own repository from executing in the context of the repositories using it.

https://docs.opensource.microsoft.com/security/tsg/action-pinning

Enable maintenance of actions by the Dependabot once a month with the default cooldown period of 3 days.

https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference

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.

🟢 Approval recommended

No active review issues remain for the GitHub Actions pinning and monthly Dependabot update configuration.

No open issues 🎉

What changed in this PR

This PR hardens the build workflow by pinning GitHub Actions to commit hashes and enables monthly dependency maintenance through Dependabot.

Changes:

  • Pins checkout, .NET setup, and artifact upload actions to specific commits.
  • Configures monthly Dependabot updates for GitHub Actions.
File Description
.github/​workflows/​build.yml Replaces action version tags with commit hashes and version comments.
.github/​dependabot.yml Adds monthly GitHub Actions dependency updates.

Review effort: Balanced

@gobradovic
Goran Obradovic (gobradovic) merged commit caa7e92 into main Dec 3, 2026
8 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