File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 3232 run : |
3333 echo "lc=false" >> $GITHUB_OUTPUT
3434 echo "bj=false" >> $GITHUB_OUTPUT
35+ echo "ss=false" >> $GITHUB_OUTPUT
3536
3637 files=$(git diff --name-only "$BEFORE..$AFTER")
3738
4243 if echo "$files" | grep -q '^BaekJoon/'; then
4344 echo "bj=true" >> $GITHUB_OUTPUT
4445 fi
46+
47+ if echo "$files" | grep -q '^Solvesql/'; then
48+ echo "ss=true" >> $GITHUB_OUTPUT
49+ fi
4550
4651 - name : Update BaekJoon README
4752 if : steps.changes.outputs.bj == 'true'
6065 python scripts/update_leetcode_readme.py --before "$BEFORE" --after "$AFTER"
6166
6267 - name : Update Solvesql README
63- if : steps.changes.outputs.bj == 'true'
68+ if : steps.changes.outputs.ss == 'true'
6469 env :
6570 BEFORE : ${{ github.event.before }}
6671 AFTER : ${{ github.sha }}
7277 if [ -n "$(git status --porcelain)" ]; then # README가 바뀌었을 때만 커밋
7378 git config user.name "github-actions[bot]" # GitHub 공식 bot 계정으로 커밋
7479 git config user.email "github-actions[bot]@users.noreply.github.com"
75- git add LeetCode/README.md BaekJoon/README.md
80+ git add LeetCode/README.md BaekJoon/README.md Solvesql/README.md
7681 git commit -m "chore: auto update READMEs"
7782 git push
7883 fi
You can’t perform that action at this time.
0 commit comments