Skip to content

Commit 565f340

Browse files
committed
remove GitHub Actions file ./.git/
1 parent cd9c6a3 commit 565f340

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/hello.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
uses: actions/checkout@v4
1313

1414
- name: Count files
15-
run: echo "FILES=$(find . -type f | wc -l)" >> $GITHUB_ENV
15+
run: echo "FILES=$(find . -type f -not -path './.git/*' | wc -l)" >> $GITHUB_ENV
1616

1717
- name: Greeting
1818
run: echo "Hello ${{ vars.STUDENT_NAME }}, your files count are $FILES"

0 commit comments

Comments
 (0)