Skip to content

CI autoupdate pre-commit #4181

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

Closed

Conversation

MarcoGorelli
Copy link
Contributor

Rather than manually updating the versions of hooks when new ones come out, you can set up a GitHub action which will automatically open up a PR each monday to do that for you.

For this to work, whoever owns the repo would need to create an access token and add it as secret ACTION_TRIGGER_TOKEN to the repo - see screenshot below for an example

image

@codecov
Copy link

codecov bot commented Oct 23, 2020

Codecov Report

Merging #4181 into master will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4181      +/-   ##
==========================================
+ Coverage   88.87%   88.88%   +0.01%     
==========================================
  Files          89       89              
  Lines       14343    14343              
==========================================
+ Hits        12747    12749       +2     
+ Misses       1596     1594       -2     
Impacted Files Coverage Δ
pymc3/distributions/continuous.py 93.16% <0.00%> (+0.23%) ⬆️

@AlexAndorra
Copy link
Contributor

Thanks for the initiative @MarcoGorelli -- that would indeed be useful!
I guess @twiecki is the one with enough permissions to create an access token

@MarcoGorelli
Copy link
Contributor Author

MarcoGorelli commented Oct 26, 2020

Thanks for the initiative @MarcoGorelli -- that would indeed be useful!

No worries! You'd asked about this a while ago but I didn't yet know you could do this

Just to demo of what this would look like - I received the weekly automated PR to my repo this morning: nbQA-dev/nbQA#376 , so it would look like that (except it'd be authored by the PyMC3 repo owner)

@MarcoGorelli
Copy link
Contributor Author

closing as this should be taken care of by pre-commit CI, have moved the version bumps into #4197

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