Link Check #625
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
name: Link Check | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '45 15 * * *' | |
permissions: | |
contents: read | |
security-events: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Link Check | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npm ci | |
- run: npm run textlint-sarif | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
# Path to SARIF file relative to the root of the repository | |
sarif_file: textlint.sarif | |
# Optional category for the results | |
# Used to differentiate multiple results for one commit | |
category: textlint |