We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 521c00b commit 2f78a50Copy full SHA for 2f78a50
โ.github/workflows/integration.yaml
@@ -8,4 +8,21 @@ jobs:
8
runs-on: ubuntu-latest
9
steps:
10
- uses: actions/checkout@v4
11
- - uses: fernandrone/[email protected]
+ with:
12
+ fetch-depth: 0
13
+
14
+ - name: Find files missing end line break
15
+ run: |
16
+ files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }})
17
+ success=true
18
+ for file in $files; do
19
+ if [ "$(tail -c 1 $file | wc -l)" -eq 0 ]; then
20
+ echo "- $file" >> $GITHUB_STEP_SUMMARY
21
+ success=false
22
+ fi
23
+ done
24
25
+ if [ "$success" = false ]; then
26
+ echo -e "\n:warning: ์ ํ์ผ๋ค์ ๋์ ๋๋ฝ๋ ์ค ๋ฐ๊ฟ์ ์ถ๊ฐํด ์ฃผ์ธ์." >> $GITHUB_STEP_SUMMARY
27
+ exit 1
28
0 commit comments