My intention is to trigger a CI workflow whenever files in master change.
Initially I defined the following triggers:
on: # Trigger on PR close pull_request: types: [closed] paths: - 'src/**' - 'modules/**' branches: - master # Trigger on push to master push: branches: - master paths: - 'src/**' - 'modules/**'
When I do this every PR close with changes triggers the job twice, which I did not expect.
Does a PR close with changes always trigger a push event?