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

script/get_github_workflow_run_job_id.rb would fail on forks anyway
This commit is contained in:
Jarek Radosz
2024-06-05 18:30:37 +02:00
committed by GitHub
parent b618d08d36
commit 12661ece97

View File

@@ -306,7 +306,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