Skip to content
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

chore: Let dependabot update GitHub actions #1640

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

reneleonhardt
Copy link
Contributor

Let bots do some of the tedious work 😄

@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "pip"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which dependencies would this end up updating?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I can see only doc/requirements.txt:
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#pip-and-pip-compile
But the PRs will not be auto-merged, you still have to merge the suggestions yourself, but you don't have to update manually anymore 😅

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I'm not a heavy user of dependabot, but many projects I maintain still receive security-oriented upgrade suggestions.

However with the docs is tricky: we don't have automatic tests that verify that the documentation is rendered correctly. Merging the change would generate new docs, which might be broken. So I don't think I want to run the risk.

Can you please limit the updates to the github actions, and set it to a monthly update? I don't think a weekly update is requested.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure thing.

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a newline at the end of the file.

@reneleonhardt reneleonhardt changed the title chore: Let dependabot update pip and GitHub actions chore: Let dependabot update GitHub actions Oct 29, 2023
@dvarrazzo dvarrazzo merged commit 4e47301 into psycopg:master Oct 30, 2023
14 checks passed
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