Files
minecraft-bedrock-json-schemas/.github/workflows/compress-json-schemas.yml
dependabot[bot] 2f97da164b build(deps): bump the all group with 1 update (#186)
Bumps the all group with 1 update: [actions/checkout](https://github.com/actions/checkout).

- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 19:17:30 +02:00

39 lines
939 B
YAML

# 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: Compress Json
uses: DaanV2/Json-Schema-Action-Compression@v2.1
with:
specificationFile: "${{github.workspace}}/source/compress_specification.json"
- name: ✏️ Commit changes
continue-on-error: true
run: |
cd ${{github.workspace}}
git config --global user.email "orbi@blockception.com"
git config --global user.name "Orbi-bot"
git add .
git commit -m "auto: Generated Json Schemas"
git push