Skip to content

Conversation

surt91
Copy link
Collaborator

@surt91 surt91 commented Jun 26, 2025

The scenario:
Commit 1 changes logic in the backend. It starts the backend tests, which fail.
Commit 2 changes a typo in the main readme. Since the push does not contain changes to the backend folder, no tests are started.
The pull request only shows the checks triggered by the last commit, which are all successful. The unsuccessful tests of previous commits are ignored.

So, in this scenario we could merge despite of failing tests.

To fix this, we change the trigger from push to pull_request, which will always trigger all jobs which are affected by the whole PR, everytime the PR changes (e.g. by a push to the corresponding branch).

@surt91 surt91 changed the title ci: use pull_request trigger instead of push trigger ci: use pull_request trigger instead of push trigger Jun 27, 2025
@surt91 surt91 force-pushed the ci/use-ppull-request-trigger-instead-of-push branch from e081e52 to 09d06f5 Compare June 30, 2025 15:25
@surt91 surt91 enabled auto-merge (squash) June 30, 2025 15:27
@surt91 surt91 merged commit a9782cb into main Jun 30, 2025
56 checks passed
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