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

WIP: Automerge workflow #401

Closed
wants to merge 5 commits into from

Conversation

staticdev
Copy link
Contributor

Closes #296

@staticdev
Copy link
Contributor Author

@cjolowicz I recreated my PRs with much less commits. I had to delete my fork since master was compromised and rebase from upstream wasn't working (I still struggle with rebases and remotes).

@staticdev
Copy link
Contributor Author

staticdev commented Jul 28, 2020

@cjolowicz LGTM? I really find useful having dependabot PRs automatically merged =p

@cjolowicz
Copy link
Owner

Sorry for letting this sit here for so long.

I must confess, I have doubts that this is a good fit for this template. It's no doubt very useful in many projects, but it makes strong assumptions about the way a project "ticks". You need to have a very thorough test suite to prevent upgrades that break your code. Even then, there is no guarantee nothing will break. And for some projects, merging PRs without review is a no-no, even for Dependabot.

Also I'm curious, I didn't understand if/how the workflow prevents merging when other checks failed?

@staticdev staticdev marked this pull request as draft August 16, 2020 17:14
@staticdev
Copy link
Contributor Author

staticdev commented Aug 16, 2020

@cjolowicz you are right, I got my first automerged broken lib (staticdev/irpf-cei@0d0dd50) I will put this on draft until I make safer automerge passing all checks.

Since GA does not support natively dependency between workflows, I found a workaround using GitHub Workflow API in this repo where Publish workflow depends on CI workflow.

@staticdev staticdev changed the title Automerge workflow WIP: Automerge workflow Sep 21, 2020
Base automatically changed from master to main February 18, 2021 19:02
@cjolowicz
Copy link
Owner

Thanks for working on this @staticdev

I'm closing this for the reasons mentioned above.

Please feel free to continue the discussion though.

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.

Suggestion: Add dependabot automerge workflow on Github Actions
2 participants