Closed wgwz closed 1 year ago
@ryanchristo i think we could also remove the configuration for "pull requests". we don't have that line in the regen-server and it seems to always satisfy our expectations there. every PR always has the checks being run. WDYT?
~The current settings without changes is the ideal behavior as far as I understand and~ these changes make the tests run twice:
Maybe we should just remove the pull request setting if we want to run on every commit?
I'm not sure I understand why we would want to run the github action twice per pull request into
main
(one because of the updated branches setting and the other because of the pull request setting).
i just wasn't sure if you had a preference either way
~The current settings without changes is the ideal behavior as far as I understand and~ these changes make the tests run twice:
Maybe we should just remove the pull request setting if we want to run on every commit?
that's why i said this before 👇
i think we could also remove the configuration for "pull requests"
i was just asking what you thought in case there was a preference for using the on pull request setting over the on push setting
anyways, will remove the pull request setting!
Yea, my misunderstanding. All commits and pull request setting removed sounds like a good idea.
@ryanchristo i noticed in the current PR i'm working on that the checks did not get run for a new commit that i pushed. i copied a line of configuration from the workflow in regen-server. and i think this change could fix that. it says "run ci checks on pushes to any branch"