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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dependabot config #6430

Merged
merged 1 commit into from Jan 5, 2023
Merged

Conversation

michaelosthege
Copy link
Member

@michaelosthege michaelosthege commented Jan 4, 2023

What is this PR about?
Ideally I'd like to have dependabot bump our PyTensor version pin, but as of 2023-01 it does not yet support conda environments, and the fact that we have versions pinned in environment.yml and requirements.txt at the same time will further complicate things.

However, we can already use it to keep our GitHub Actions updated.

Checklist

Maintenance

  • Added dependabot to keep GitHub Actions updated.

@michaelosthege michaelosthege added maintenance Github CI/CD no releasenotes Skipped in automatic release notes generation labels Jan 4, 2023
@maresb
Copy link
Contributor

maresb commented Jan 4, 2023

Ah, I was just wondering myself how to update GHA. I found this but it's complicated due to the fact that the standard ${{secrets.GITHUB_TOKEN}} doesn't allow creating PRs which modify the .github/workflows directory. (You have to set up a bot account.)

I haven't used dependabot yet myself, and this is some deliciously simple declarative conf, and seems much simpler than the above action. I'm very interested in seeing if this works as expected so that I can apply it elsewhere.

@michaelosthege
Copy link
Member Author

dependabot is a very active contributor to McBackend: https://github.com/michaelosthege/mcbackend/pulls?q=is%3Apr+is%3Aclosed

Over there I use it to update requirements.txt too

@twiecki twiecki merged commit 76003e8 into pymc-devs:main Jan 5, 2023
@michaelosthege michaelosthege deleted the add-dependabot branch January 5, 2023 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Github CI/CD maintenance no releasenotes Skipped in automatic release notes generation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants