Skip to content

Add broken url checker #4

Add broken url checker

Add broken url checker #4

Workflow file for this run

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