I am using GitHub a ctions to manage my CI and the following events trigger my workflow:
on:
pull_request:
branches: main
push:
branches: main
I observed the following "problem": When I create a PR, the CI is run. If the test passes and I merge it into main, the tests are run again (which I don' t want in specific cases). How can I setup my workflow such that the CI is not triggered when merging a PR, where the CI already passed for the PR?
Thanks in advance!