Skip to content

Fix several small issues #6

Fix several small issues

Fix several small issues #6

name: 'tsconfig-modified-comment'
on:
pull_request:
paths:
- 'src/schemas/json/tsconfig.json'
- 'src/schemas/json/jsconfig.json'
jobs:
post-comment:
if: github.repository == 'SchemaStore/schemastore'
runs-on: 'ubuntu-latest'
permissions: 'write-all'
steps:
- uses: 'actions/github-script@v7'
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
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.`
})