Skip to content

Merge remote-tracking branch 'upstream/unstable' into manual_failover… #40

Merge remote-tracking branch 'upstream/unstable' into manual_failover…

Merge remote-tracking branch 'upstream/unstable' into manual_failover… #40

name: Reply-schemas linter
on:
push:
paths:
- 'src/commands/*.json'
pull_request:
paths:
- 'src/commands/*.json'
concurrency:
group: reply-schemas-linter-${{ github.head_ref || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
reply-schemas-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup nodejs
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
- name: Install packages
run: npm install ajv
- name: linter
run: node ./utils/reply_schema_linter.js