Add Watermark to OCA Bundle README and update JSON Index generation script #86
Workflow file for this run
This file contains hidden or 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: "Check for existence of a OCABundle.json file" | |
| on: | |
| pull_request: | |
| types: opened | |
| jobs: | |
| oca_validation: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: "Check file existence" | |
| id: check_files | |
| uses: andstor/file-existence-action@v3 | |
| with: | |
| files: "OCABundles/**/OCABundle.json" | |
| - name: Commit files | |
| if: steps.check_files.outputs.files_exists == 'true' | |
| run: | | |
| npm install -g ajv-cli | |
| ajv validate -s OCABundles/validators/schema.json -d 'OCABundles/**/OCABundle.json' |