Skip to content

Commit

Permalink
main schema should be committed when using v1.x ref
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 authored Jan 25, 2024
1 parent eba2bb2 commit b5ce575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .
if [ "${HAYSTACK_REF}" != "main" ]; then
if [ "${HAYSTACK_REF}" != "v1.x" ]; then
git restore --staged --worktree json-schema/haystack-pipeline-main.schema.json
fi
git commit -m "Update Schema for ${HAYSTACK_REF}" -a || echo "No changes to commit"
Expand Down

0 comments on commit b5ce575

Please sign in to comment.