fix: adding a fix by making prs

This commit is contained in:
DaanV2
2025-10-14 20:02:34 +02:00
parent aba90502d4
commit b54a153b43

View File

@@ -36,17 +36,10 @@ jobs:
with: with:
specificationFile: "source/compress_specification.json" specificationFile: "source/compress_specification.json"
- name: ✏️ Commit and push changes (if any) - name: ✏️ Commit and Create PR
run: | uses: peter-evans/create-pull-request@v6
cd "${{ github.workspace }}" with:
git config --global user.email "orbi@blockception.com" branch: auto/update-schemas
git config --global user.name "Orbi-bot" commit-message: "auto: generated json schemas ${{ steps.time.outputs.time }}"
git add . title: "Automated JSON schema update"
if ! git diff --cached --quiet; then body: "This PR updates the generated JSON schemas."
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