Add broken url checker #4
Workflow file for this run
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: 'Maintenance: Check Broken URLs and Update Issue' | |
on: | |
schedule: | |
- cron: '2 22 * * *' # Runs at 10:02 every day | |
push: | |
pull_request: | |
jobs: | |
brokenurl: | |
if: github.repository == 'SchemaStore/schemastore' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: 'actions/checkout@v4' | |
- uses: 'actions/setup-node@v4' | |
- run: 'node ./cli.js maintenance' | |
- name: 'Update comment' | |
uses: 'peter-evans/create-or-update-comment@v4' | |
with: | |
comment-id: 2394972665 | |
body: | | |
**Edit:** Some additional info |