mirror of
https://github.com/curl/curl.git
synced 2026-07-22 17:57:18 +03:00
CI/linkcheck: only run if a Markdown file is changed
This saves CI resources and therefore a little energy. Reviewed-by: Max Dymond Closes #9531
This commit is contained in:
parent
f315b54000
commit
e3a533f51b
1 changed files with 6 additions and 2 deletions
8
.github/workflows/linkcheck.yml
vendored
8
.github/workflows/linkcheck.yml
vendored
|
|
@ -5,15 +5,19 @@
|
|||
name: Markdown links
|
||||
|
||||
on:
|
||||
# Trigger the workflow on push or pull requests, but only for the
|
||||
# master branch
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- '*/ci'
|
||||
paths:
|
||||
- '.github/workflows/linkcheck.yml'
|
||||
- '**.md'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- '.github/workflows/linkcheck.yml'
|
||||
- '**.md'
|
||||
|
||||
jobs:
|
||||
# Docs: https://github.com/marketplace/actions/markdown-link-check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue