Running GitHub Workflows duplicate events: push and pull_request #2891
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
samples
Issues that are directly related to samples.
type: cleanup
An internal cleanup or hygiene concern.
The GitHub Workflow template runs for each set of samples on
push
andpull_request
.Based on my reading of the syntax documentation, pull_request is necessary for forks.
It looks like folks contributing from a branch in the repository would trigger duplicate tests. Looking at some data, I don't see signs of duplicate work but documented points like https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#using-multiple-events indicate that there should be.
Action Items from this issue should be one of:
push
as an event trigger from each config and the template@sofisl could you provide some insight into why we have both triggering events in the config?
The text was updated successfully, but these errors were encountered: