Skip to content

Commit d396d98

Browse files
authored
refactor: staged 기준으로 판단하도록 수정 (#181)
1 parent eff1d5d commit d396d98

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/prod-openapi.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,11 @@ jobs:
6363
set -euo pipefail
6464
git config user.name "clokey-bot"
6565
git config user.email "clokey-bot@users.noreply.github.com"
66-
67-
if git diff --quiet; then
66+
67+
git add "${TARGET_PATH}"
68+
ls -al "codiveapi/${TARGET_PATH}"
69+
70+
if git diff --cached --quiet; then
6871
echo "No changes detected. Skipping commit."
6972
exit 0
7073
fi

0 commit comments

Comments
 (0)