Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release-workflow-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ jobs:
id: check_changes
working-directory: schema-repo
run: |
if git diff --quiet schema.json; then
git add schema.json
if git diff --cached --quiet schema.json; then
echo "changed=false" >> $GITHUB_OUTPUT
else
echo "changed=true" >> $GITHUB_OUTPUT
Expand All @@ -132,7 +133,6 @@ jobs:
run: |
git config user.name "Keep Schema Bot"
git config user.email "no-reply@keephq.dev"
git add schema.json
git commit -m "Release schema v${{ steps.get_version.outputs.version }}"
git push origin ${{ steps.set_branch.outputs.branch }}
if [ "${{ steps.set_branch.outputs.branch }}" = "main" ]; then
Expand Down