mirror of
https://github.com/tiennm99/cheahjs-free-llm-api-resources.git
synced 2026-10-14 08:18:00 +00:00
fix: Update if conditions to use new output name diff_count
This commit is contained in:
1 parent
79adb71e53
commit
cf79b2bbb2
1 file changed
+2
-2
@@ -42,13 +42,13 @@ jobs:
|
||||
git status --porcelain > changes.diff
|
||||
echo "diff_count=$(cat changes.diff | wc -l)" >> $GITHUB_OUTPUT
|
||||
- name: Commit changes
|
||||
if: steps.changes.outputs.diff != ''
|
||||
if: steps.changes.outputs.diff_count != '0'
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_message: "Update README with latest models"
|
||||
branch: update-readme-${{ github.run_id }}
|
||||
- name: Create Pull Request
|
||||
if: steps.changes.outputs.diff != ''
|
||||
if: steps.changes.outputs.diff_count != '0'
|
||||
uses: peter-evans/create-pull-request@v6
|
||||
with:
|
||||
title: "Update README with latest models"
|
||||
|
||||
Reference in new issue
Block a user