mirror of
https://github.com/curl/curl.git
synced 2026-07-10 10:27:18 +03:00
- updates `actions/cache` from 5.0.5 to 6.1.0 - updates `actions/checkout` from 6.0.2 to 7.0.0 - updates `github/codeql-action/analyze` from 4.36.0 to 4.36.2 - updates `github/codeql-action/init` from 4.36.0 to 4.36.2 - updates `msys2/setup-msys2` from 2.31.1 to 2.32.0 Closes #22239
43 lines
961 B
YAML
43 lines
961 B
YAML
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
#
|
|
# SPDX-License-Identifier: curl
|
|
|
|
name: 'URLs'
|
|
|
|
'on':
|
|
push:
|
|
branches:
|
|
- master
|
|
- '*/ci'
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
schedule:
|
|
- cron: '10 5 * * *'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
|
cancel-in-progress: true
|
|
|
|
permissions: {}
|
|
|
|
env:
|
|
DO_NOT_TRACK: '1'
|
|
|
|
jobs:
|
|
linkcheck:
|
|
if: ${{ github.repository_owner == 'curl' || github.event_name != 'schedule' }}
|
|
name: 'linkcheck'
|
|
runs-on: ubuntu-slim
|
|
steps:
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
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
|