Skip to content

Commit

Permalink
Merge pull request #304 from crytic/dev-improve-markdown-ci-lint
Browse files Browse the repository at this point in the history
ci: lint_links: only check changed files on pull requests
  • Loading branch information
montyly authored Jun 23, 2023
2 parents 8654994 + 41900e8 commit 4ae8bd9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/lint_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ on:
- ".github/workflows/lint_links.yml"
- "**.md"
schedule:
# run CI at 09:00, on day 1 of the month even if no PRs/merges occur
- cron: "0 9 1 * *"
# run CI at 09:00 every Tuesday even if no PRs/merges occur
- cron: "0 9 * * 2"

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: "yes"
check-modified-files-only: ${{ (github.event_name == 'pull_request' && 'yes') || 'no' }}

0 comments on commit 4ae8bd9

Please sign in to comment.