Bumps the all group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata). Updates `actions/checkout` from 4 to 5 - [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/v4...v5) Updates `dependabot/fetch-metadata` from 1 to 2 - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v1...v2) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: dependabot/fetch-metadata dependency-version: '2' 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>
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
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@v5
|
|
|
|
- name: ⌛ Get Time
|
|
id: time
|
|
uses: nanzm/get-time-action@v2.0
|
|
with:
|
|
timeZone: 8
|
|
format: "YYYY-MM-DD"
|
|
|
|
- name: 💾 Compress Json
|
|
uses: DaanV2/Json-Schema-Action-Compression@v3.6
|
|
with:
|
|
specificationFile: "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 ${{ steps.time.outputs.time }}"
|
|
git push
|