mirror of
https://github.com/luong-komorebi/Awesome-Linux-Software.git
synced 2025-01-25 23:06:07 -05:00
run github action weekly rather than on push
This commit is contained in:
parent
4af1acc66b
commit
e551fdbd98
30
.github/workflows/action.yml
vendored
30
.github/workflows/action.yml
vendored
@ -1,20 +1,20 @@
|
|||||||
name: Check Markdown links
|
name: Markdown Links Check
|
||||||
|
# runs every monday at 9 am
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
schedule:
|
||||||
branches:
|
- cron: "0 9 * * 1"
|
||||||
- master
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
markdown-link-check:
|
check-links:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
||||||
|
# checks all markdown files from root but ignores subfolders
|
||||||
|
with:
|
||||||
|
use-quiet-mode: 'yes'
|
||||||
|
use-verbose-mode: 'yes'
|
||||||
|
config-file: '.github/workflows/markdown.links.config.json'
|
||||||
|
max-depth: 0
|
||||||
|
file-path: README.md
|
||||||
|
|
||||||
|
10
.github/workflows/markdown.links.config.json
vendored
Normal file
10
.github/workflows/markdown.links.config.json
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"ignorePatterns": [
|
||||||
|
{
|
||||||
|
"pattern": "^http://www.tmeter.ru"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pattern": "https://github.com/GoogleChrome/lighthouse/workflows/\uD83D\uDCA1\uD83C\uDFE0/badge.svg"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user