Skip all parts of the daily test on forks of typeshed (#10782)

We skip 2/3 jobs in the daily test when running on forks:

b23042e854/.github/workflows/daily.yml (L33)

b23042e854/.github/workflows/daily.yml (L59)

But we missed this condition for the stub-uploader part

Fixes #10781
This commit is contained in:
Alex Waygood
2023-09-26 20:19:43 +01:00
committed by GitHub
parent b23042e854
commit 5e7090ce4b

View File

@@ -98,8 +98,10 @@ jobs:
fi
$PYTHON_EXECUTABLE tests/stubtest_third_party.py --specified-platforms-only --num-shards 4 --shard-index ${{ matrix.shard-index }}
stub-uploader:
name: Run the stub_uploader tests
if: ${{ github.repository == 'python/typeshed' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3