GHA/checkurls: add dry run on push
No binary (build failed)
—
(log yok)
| @@ -5,6 +5,13 @@ | |
| name: 'URLs' | |
| 'on': | |
| + | push: |
| + | branches: |
| + | - master |
| + | - '*/ci' |
| + | pull_request: |
| + | branches: |
| + | - master |
| schedule: | |
| - cron: '10 5 * * *' | |
| @@ -16,7 +23,7 @@ permissions: {} | |
| jobs: | |
| linkcheck: | |
| - | if: ${{ github.repository_owner == 'curl' }} |
| + | if: ${{ github.repository_owner == 'curl' || github.event_name != 'schedule' }} |
| name: 'linkcheck' | |
| runs-on: ubuntu-latest | |
| steps: | |
| @@ -24,5 +31,10 @@ jobs: | |
| with: | |
| persist-credentials: false | |
| + | - name: 'mdlinkcheck (dry run)' |
| + | if: ${{ github.event_name != 'schedule' }} |
| + | run: ./scripts/mdlinkcheck --dry-run |
| + | |
| - name: 'mdlinkcheck' | |
| + | if: ${{ github.event_name == 'schedule' }} |
| run: ./scripts/mdlinkcheck | |