DEV: Run flake check only on discourse/discourse (#27350) (#27415)

script/get_github_workflow_run_job_id.rb would fail on forks anyway
This commit is contained in:
Jarek Radosz 2024-06-11 17:30:34 +02:00 committed by GitHub
parent 3086f97971
commit 1ba06b5444
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -287,7 +287,7 @@ jobs:
- name: Check for flaky tests report
id: check-flaky-spec-report
if: always()
if: always() && github.repository == 'discourse/discourse'
run: |
if [ -f tmp/turbo_rspec_flaky_tests.json ]; then
echo "exists=true" >> $GITHUB_OUTPUT