Merge pull request #165 from artichoke/dependabot/github_actions/gha-… #224
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
"on": | |
push: | |
branches: | |
- trunk | |
paths: | |
- .github/markdown-link-check.json | |
- .github/workflows/markdown-link-check.yaml | |
- "**/*.md" | |
pull_request: | |
branches: | |
- trunk | |
paths: | |
- .github/markdown-link-check.json | |
- .github/workflows/markdown-link-check.yaml | |
- "**/*.md" | |
schedule: | |
- cron: "0 0 * * TUE" | |
name: Markdown Links Check | |
jobs: | |
check-links: | |
name: Check links | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install Ruby toolchain | |
uses: ruby/setup-ruby@c04af2bb7258bb6a03df1d3c1865998ac9390972 # v1.194.0 | |
with: | |
ruby-version: ".ruby-version" | |
bundler-cache: true | |
- name: Check for broken links in markdown files | |
run: bundle exec rake release:markdown_link_check |