I want to define this trigger in my workflow:
on:
push:
branches:
- main
pull_request:
types: [synchronize, opened, reopened]
Which will run a build on my main branch, and for any pull request activity. Currently a lot of PR's will have the same job running twice (for push and pull_request activity). Is there a way to define this in the GHA plugin?