+
Skip to content

Conversation

YannickFricke
Copy link
Contributor

Before this PR the GitHub actions where only run for pull requests related pushes.

Therefore there was the possibility for maintainers to sneak in code to the code base which was not tested / checked for code style and checked for cargo features (only if they wouldn't do a pull request and merge branches directly).

It is as well not a very nice developer experience when you need to open a pull request every time you wanna test a change and maybe need to force-push some changes (which get displayed as such in the pull request itself but not in normal branches (before a pull request was created)).

This PR runs the GitHub actions for every kind of push (commits to single branches w/o a pull request as well as commits to pull request related branches (which could also be outside of this repository since GitHub supports this feature of "crossover pull-requests")).

Keep in mind that only the last commit in each push will be tested with GitHub actions as its the default behavior which cannot be changed.

Before the tests where only run for pull requests - but commits to
branches should be tested aswell.
Before the code style was only checked for pull requests - so it would
have been possible to commit code that doesn't match the style of the rest
of the source code.
Before the commit it would have been possible to commit source code
which wouldn't have been checked based on cargo features.
It seems that pull requests don't get triggered by the "push" event.
@coreylowman coreylowman merged commit 4fac0f1 into coreylowman:main Apr 26, 2023
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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载