Skip some CI steps on forks

This commit is contained in:
disinvite 2026-01-01 20:42:02 -05:00 committed by Dethrace Engineering Department
parent 23c2fdc771
commit 951fb1a2e3
1 changed files with 2 additions and 2 deletions

View File

@ -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