diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index c500bea6..b07302a1 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -10,7 +10,7 @@ jobs: buildx: name: Push branches and PRs runs-on: ubuntu-latest - if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == 'amir20/dozzle' }} + if: ${{ !github.event.repository.fork && !github.event.pull_request.head.repo.fork && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == 'amir20/dozzle') }} steps: - name: Docker meta id: meta diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5126df39..94123fac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,6 +37,7 @@ jobs: run: make test SKIP_ASSET=1 int-test: name: Integration Tests + if: ${{ !github.event.repository.fork && !github.event.pull_request.head.repo.fork }} runs-on: ubuntu-latest steps: - name: Checkout code