fix: adding a fix by making prs
This commit is contained in:
21
.github/workflows/compress-json-schemas.yml
vendored
21
.github/workflows/compress-json-schemas.yml
vendored
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user