diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-04-13 16:41:00 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-04-13 16:41:00 -0400 |
commit | cf19e3207b8188865dacbd119f7d972d2be9f250 (patch) | |
tree | bcd70654a6cdf7dbbf33f0e626c034c10b2e1b55 | |
parent | 8151bb46b32d2d585a645dc710d2de6c9ed2d3de (diff) |
ci/freebsd: Don't skip non-pull-request events
-rw-r--r-- | .github/workflows/freebsd.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index c05ef7a..ec89ab8 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: build: - if: github.event.pull_request.head.repo.full_name == github.repository + if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }} runs-on: ubuntu-latest |