From 951fb1a2e362445a705e844365315a6a7cefcae1 Mon Sep 17 00:00:00 2001 From: disinvite Date: Thu, 1 Jan 2026 20:42:02 -0500 Subject: [PATCH] Skip some CI steps on forks --- .github/workflows/workflow.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index 38644179..797b85b3 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -172,14 +172,14 @@ jobs: echo "::warning file=reccmp-output.txt::Decomp correctness decreased" fi - name: Checkout reccmp-report repo - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !github.event.repository.fork uses: actions/checkout@v4 with: repository: dethrace-labs/reccmp-report token: ${{ secrets.RECCMP_REPORT_TOKEN }} path: reccmp-report - name: Update report in reccmp-report repo - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && !github.event.repository.fork run: | cp new-reccmp-report.json reccmp-report/report.json cd reccmp-report