adding tigther schema checks for entities (#320) #700
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
# This is a basic workflow to help you get started with Actions | |
name: 🖥️ Compress Json Schemas | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "**/*.json" | |
workflow_dispatch: | |
concurrency: | |
group: compress-schemas | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: 🖥️ Compress Schemas | |
steps: | |
- name: 📦 Checkout Repository | |
uses: actions/checkout@v4 | |
- name: ⌛ Get Time | |
id: time | |
uses: nanzm/[email protected] | |
with: | |
timeZone: 8 | |
format: "YYYY-MM-DD" | |
- name: 💾 Compress Json | |
uses: DaanV2/[email protected] | |
with: | |
specificationFile: "${{github.workspace}}/source/compress_specification.json" | |
- name: ✏️ Commit changes | |
continue-on-error: true | |
run: | | |
cd ${{github.workspace}} | |
git config --global user.email "[email protected]" | |
git config --global user.name "Orbi-bot" | |
git add . | |
git commit -m "auto: generated json schemas ${{ steps.time.outputs.time }}" | |
git push |