Fix several small issues #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: 'Write comment if tsconfig or jsconfig is modified' | |
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' | |
permissions: | |
issues: 'write' | |
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.` | |
}) |