Merge pull request #127 from artichoke/dependabot/github_actions/gha-… #142
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@52b8784594ec115fd17094752708121dc5dabb47 # v1.154.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 |