Configure Dependabot to check for outdated actions used in workflows#50
Merged
peternewman merged 1 commit intocodespell-project:masterfrom Sep 27, 2022
per1234:dependabot
Merged
Configure Dependabot to check for outdated actions used in workflows#50peternewman merged 1 commit intocodespell-project:masterfrom per1234:dependabot
peternewman merged 1 commit intocodespell-project:masterfrom
per1234:dependabot
Conversation
Dependabot will periodically check the versions of all actions used in the repository's workflows. If any are found to be outdated, it will submit a pull request to update them.
Collaborator
|
Enable Dependabot in codespell-project/codespell too? |
Collaborator
|
Damn, I'd have waited a bit if I'd have known this was going to appear that quickly and tested it already that way! Thanks for the heads up too!
Yes please, and any others with actions. |
peternewman
approved these changes
Sep 27, 2022
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Dependabot will periodically check the versions of all actions used in the repository's workflows. If any are found to be outdated, it will submit a pull request to update them.
NOTE: In the past, Dependabot's PRs have occasionally proposed to pin to the patch version of the action (e.g., updating
uses: foo/bar@v1touses: foo/bar@v2.3.4). When the action author has provided a major version ref, use that instead (e.g.,uses: foo/bar@v2). Once the major version has been updated in the workflow, Dependabot should not submit an update PR again until the next major version bump.So even when the PRs from Dependabot are not exactly correct, they still have value in bringing the maintainer's attention to the fact that the action version in use is outdated. Dependabot will automatically close its PR once the workflow has been updated.
This has not happened to me for quite some time so it may be that they have ironed that out. But I thought it worth mentioning since I see this repository uses major version refs in the workflows.
More information:
https://docs.github.com/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
As previously mentioned by @peternewman at #49 (review)