File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,11 +25,18 @@ jobs:
2525 if : ${{ github.repository_owner == 'pypa' || github.event_name != 'schedule' }}
2626 runs-on : ubuntu-latest
2727 timeout-minutes : 20
28+ continue-on-error : >-
29+ ${{ fromJSON(matrix.continue-on-error) }}
2830 strategy :
2931 matrix :
3032 noxenv :
3133 - build
32- - linkcheck
34+ continue-on-error :
35+ - false
36+ include :
37+ - noxenv : linkcheck
38+ continue-on-error : >- # Don't block PRs on linkcheck unrelated failures
39+ ${{ toJSON(github.event_name == 'pull_request') }}
3340
3441 steps :
3542 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
5057 - name : Nox ${{ matrix.noxenv }}
5158 env :
5259 # Authenticate github.com requests during linkcheck to avoid rate limits.
53- GITHUB_TOKEN : ${{ github.token }}
60+ GITHUB_TOKEN : ${{ matrix.noxenv == 'linkcheck' && github.token || '' }}
5461 run : |
5562 python -m nox -s ${{ matrix.noxenv }}
5663
You can’t perform that action at this time.
0 commit comments