summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/freebsd.yml2
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