Skip to content

ci: auto update pinned actions#160

Open
Florian Ruppel (fruppel) wants to merge 5 commits into
mainfrom
ci/auto-update-pinned-actions
Open

ci: auto update pinned actions#160
Florian Ruppel (fruppel) wants to merge 5 commits into
mainfrom
ci/auto-update-pinned-actions

Conversation

@fruppel

@fruppel Florian Ruppel (fruppel) commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Replaces Dependabot for GitHub Actions with commit SHA pinning

Dependabot only supports semantic version tags and cannot pin actions to a specific commit SHA. This PR introduces two new composite actions and a scheduled workflow to fill that gap.

  • check-pinned-actions — PR gate that fails if any non-Shopware action is referenced by a tag or branch instead of a full commit SHA
  • update-pinned-actions — composite action that checks all actions for newer releases, updates every occurrence to the latest release's commit SHA, and opens a PR; detects potential breaking changes (major version bumps, "breaking change" keywords in release notes) and includes them in the PR description
  • A scheduled workflow runs the update every Monday and Wednesday at 07:00 UTC
  • Shared utilities (lib/action-utils.js) are used by both scripts to avoid duplication
  • Dependabot's github-actions ecosystem is disabled as it is now superseded

@shyim

Copy link
Copy Markdown
Member

Why we're building our own dependabot. That will be never properly maintained by us.
I cannot validate your argument with commit sha, it's working since years in my cli repo. see example
https://github.com/shopware/shopware-cli/pull/1054/changes

@fruppel

Copy link
Copy Markdown
Contributor Author

Why we're building our own dependabot. That will be never properly maintained by us. I cannot validate your argument with commit sha, it's working since years in my cli repo. see example https://github.com/shopware/shopware-cli/pull/1054/changes

Interesting... let me check that again. If it works with dependabot I don't want to implement this again :)

@fruppel Florian Ruppel (fruppel) removed the request for review from a team June 11, 2026 08:45
@fruppel Florian Ruppel (fruppel) marked this pull request as draft June 11, 2026 08:55
@fruppel Florian Ruppel (fruppel) marked this pull request as ready for review June 12, 2026 13:51
@fruppel

Copy link
Copy Markdown
Contributor Author

Soner (@shyim) I removed the dependabot clone because you're totally right, dependabot can work with commit hashes. I just would like to keep the check if actions are pinned now.

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