mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08: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
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…
Reference in New Issue
Block a user