We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53dfd2f commit d5fa4cfCopy full SHA for d5fa4cf
.github/workflows/translate.yaml
@@ -25,7 +25,7 @@ jobs:
25
# because this workflow needs to push a branch via git push
26
- id: md_files
27
run: |
28
- FILES=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" -- 'docs/*.md')
+ FILES=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" -- 'docs/*.md' ':(exclude)docs/*/*.md')
29
FILES=$(echo "$FILES" | xargs -n1 basename | tr '\n' ' ')
30
[ -z "$FILES" ] && echo "found=false" >> "$GITHUB_OUTPUT" || echo "found=true" >> "$GITHUB_OUTPUT"
31
echo "files=$FILES" >> "$GITHUB_OUTPUT"
0 commit comments