We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7d3948 commit 0f85d87Copy full SHA for 0f85d87
1 file changed
action.yml
@@ -441,7 +441,8 @@ runs:
441
# Stage generated branch content (including deletions) without pathspec errors
442
# when report.html has never existed.
443
git add -A -- "${BRANCH}"
444
- if [[ -n "$(git status --porcelain)" ]]; then
+ # Only proceed when this step actually staged changes for the target path.
445
+ if ! git diff --cached --quiet -- "${BRANCH}"; then
446
git commit -m "update"
447
448
max_attempts=5
0 commit comments