From b54a153b43700b05e93ff7fa56ead2204b23d196 Mon Sep 17 00:00:00 2001 From: DaanV2 Date: Tue, 14 Oct 2025 20:02:34 +0200 Subject: [PATCH] fix: adding a fix by making prs --- .github/workflows/compress-json-schemas.yml | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/.github/workflows/compress-json-schemas.yml b/.github/workflows/compress-json-schemas.yml index b58f786c..eafbb5f1 100644 --- a/.github/workflows/compress-json-schemas.yml +++ b/.github/workflows/compress-json-schemas.yml @@ -36,17 +36,10 @@ jobs: with: specificationFile: "source/compress_specification.json" - - name: ✏️ Commit and push changes (if any) - run: | - cd "${{ github.workspace }}" - git config --global user.email "orbi@blockception.com" - git config --global user.name "Orbi-bot" - git add . - if ! git diff --cached --quiet; then - echo "📝 Changes detected, committing..." - git commit -m "auto: generated json schemas ${{ steps.time.outputs.time }}" - echo "🚀 Pushing changes..." - git push - else - echo "✅ No changes to commit." - fi + - name: ✏️ Commit and Create PR + uses: peter-evans/create-pull-request@v6 + with: + branch: auto/update-schemas + commit-message: "auto: generated json schemas ${{ steps.time.outputs.time }}" + title: "Automated JSON schema update" + body: "This PR updates the generated JSON schemas."