Skip to content

Commit 8e704dc

Browse files
committed
debug
1 parent 5672814 commit 8e704dc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/pre-commit.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
run: |
3939
git fetch origin main || git fetch origin master
4040
base_commit=$(git rev-parse --verify origin/main || git rev-parse --verify origin/master || echo "")
41-
41+
echo $base_commit
4242
if [ -z "$base_commit" ]; then
4343
files=$(git ls-files '*.yaml' '*.md')
4444
else
4545
files=$(git diff --name-only "$base_commit" -- '*.yaml' '*.md')
4646
fi
47-
47+
echo $files
4848
if [ -n "$files" ]; then
4949
echo "$files" | xargs pre-commit run --files
5050
else

0 commit comments

Comments
 (0)