-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep GitHub Actions up to date with GitHub's Dependabot #1868
Conversation
This will automate the creation of pull requests like * pennersr/django-allauth#3615
Thanks for these PRs! They're awesome. I added a review with some very small nits, take a look. |
Co-authored-by: Casey Rodarmor <[email protected]>
groups: | ||
GitHub_Actions: | ||
patterns: | ||
- "*" # open a single pull request to update all actions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the quotes required here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are, *
is a special character in YAML. You can use &
and *
to declare and reference properties to de-duplicate repeated values.
This:
myprop:
uid: &id XXX
myprop1:
id: *id
Is equivalent to this:
myprop:
uid: XXX
myprop1:
id: XXX
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This will automate the creation of pull requests like
And avoid the warnings like at the bottom of https://github.com/casey/just/actions/runs/7603050227
https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem