ci: add dependabot for gh-actions #6159
Closed
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.
Helo,
Purpose of this PR is to add the
dependabot.yml
in update mode, and configure it to target github-actions.According to this PR #6141 it seems you are going in the direction of pinning gh-actions dependencies in the workflows, which is great, and will improve the ossf scorecard. To avoid adding too much burden on the maintenance side (tracking each gh-action to update them one by one), dependabot can do it for you according to this docs => https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#github-actions
You can even add some defaults reviewers and labels to the PR that will be automatically open, but I prefer let you review the minimal default configuration first and LMK if you want to modify the config according to your needs.
Hope it could help you, cheers!