ci workflow: skip pull requests from forks on the self-hosted runner

This commit is contained in:
CRTkafa 2026-10-10 22:18:42 +00:00
parent 4bf0535af0
commit 882544dfdb

View file

@ -19,6 +19,8 @@ jobs:
ci:
# runner label: ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04
runs-on: ubuntu-22.04
# the self-hosted runner only runs code from this repo: pull requests from forks are skipped
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
timeout-minutes: 60
steps:
- uses: actions/checkout@v4