Skip to content

Commit 42359a2

Browse files
committed
ci: exclude .github dir to check filename convention
1 parent c29008c commit 42359a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/integration.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ jobs:
134134
merge_base=$(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }})
135135
echo "Merge base 커밋: $merge_base"
136136
137-
files=$(git diff --name-only $merge_base ${{ github.event.pull_request.head.sha }} | tr -d '"')
137+
# .github 디렉토리 하위 파일 제외하고 대상 파일로 지정
138+
files=$(git diff --name-only "$merge_base" ${{ github.event.pull_request.head.sha }} -- . ':(exclude).github/**' | tr -d '"')
138139
pr_author="${{ github.event.pull_request.user.login }}"
139140
success=true
140141

0 commit comments

Comments
 (0)