Update check-n8n-new-release.yml

This commit is contained in:
SvenBrnn
2025-05-30 09:05:58 +02:00
committed by GitHub
parent 4db7c37a72
commit e1c3899852
+9 -5
View File
@@ -70,11 +70,15 @@ jobs:
- name: Commit and push changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add Dockerfile
git commit -m "chore: bump OLLAMA_VERSION to ${{ needs.check-new-release.outputs.version_to_release }}"
git push
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add Dockerfile
if ! git diff --cached --quiet; then
git commit -m "chore: bump OLLAMA_VERSION to ${{ needs.check-new-release.outputs.version_to_release }}"
git push
else
echo "No changes to commit."
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}