Skip to content

Fix several small issues #2

Fix several small issues

Fix several small issues #2

name: 'Automatically comment if file is changed'
on:
pull_request:
paths:
- 'src/schemas/json/tsconfig.json'
- 'src/schemas/json/jsconfig.json'
jobs:
comment-tsconfig-file:
if: github.repository == 'SchemaStore/schemastore'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/github-script@v7'
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Detected modification of either 'tsconfig.json' or 'jsconfig.json' file.
If applicable, if you modified one file, you likely need to modify the other file to keep both in sync.`
})