File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1111 - synchronize # default
1212 - reopened # default
1313 - ready_for_review # used in PRs created from GitHub Actions workflows
14+ schedule :
15+ - cron : ' 0 0 * * *' # Run the linkcheck daily to surface failures independent of PRs
1416 workflow_call :
1517
1618concurrency :
@@ -25,10 +27,17 @@ jobs:
2527 if : ${{ github.repository_owner == 'pypa' || github.event_name != 'schedule' }}
2628 runs-on : ubuntu-latest
2729 timeout-minutes : 20
30+ # Don't block PRs on linkcheck unrelated failures.
31+ continue-on-error : ${{ matrix.ignore-errors || false }}
2832 strategy :
33+ fail-fast : false
2934 matrix :
3035 noxenv :
3136 - build
37+ - linkcheck
38+ include :
39+ - noxenv : linkcheck
40+ ignore-errors : true
3241
3342 steps :
3443 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4756 python -m pip install --upgrade nox virtualenv
4857
4958 - name : Nox ${{ matrix.noxenv }}
59+ env :
60+ # Authenticate github.com requests during linkcheck to avoid rate limits.
61+ GITHUB_TOKEN : ${{ matrix.noxenv == 'linkcheck' && github.token || '' }}
5062 run : |
5163 python -m nox -s ${{ matrix.noxenv }}
5264
You can’t perform that action at this time.
0 commit comments