I noticed a LOT of variation / confusion over the first few lines of an action:
on: push: branches: - main pull_request:
So I am thinking, what is the default? What should be the default?
Because I’ve also noticed a lot of people using something like
if: github.ref == 'refs/heads/main' && github.event_name == 'push'. So I am thinking is on: redundant?