emogrifier icon indicating copy to clipboard operation
emogrifier copied to clipboard

Avoid running the same CI jobs twice for PRs

Open oliverklee opened this issue 4 years ago • 1 comments

Only run either on pushes or on PRs, but not both at the same time. (We need to make sure this still works for forks, though.)

oliverklee avatar Sep 14 '21 10:09 oliverklee

You can do the following:

  push:
    branches:
    - main

Then the workflows will only run for pushes to main.

TimWolla avatar Oct 28 '21 13:10 TimWolla