You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
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 :)
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.