f
This commit is contained in:
parent
cd4025c14f
commit
a089b754f4
2
.github/workflows/translate_es.yml
vendored
2
.github/workflows/translate_es.yml
vendored
@ -61,7 +61,7 @@ jobs:
|
|||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
# Run the translation script on each changed file
|
||||||
git diff-tree --no-commit-id --name-only -r "$GITHUB_SHA" | grep -v "SUMMARY.md" | while read -r file; do
|
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
if echo "$file" | grep -qE '\.md$'; then
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
echo -n "$file , " >> /tmp/file_paths.txt
|
||||||
else
|
else
|
||||||
|
2
.github/workflows/translate_fr.yml
vendored
2
.github/workflows/translate_fr.yml
vendored
@ -61,7 +61,7 @@ jobs:
|
|||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
# Run the translation script on each changed file
|
||||||
git diff-tree --no-commit-id --name-only -r "$GITHUB_SHA" | grep -v "SUMMARY.md" | while read -r file; do
|
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
if echo "$file" | grep -qE '\.md$'; then
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
echo -n "$file , " >> /tmp/file_paths.txt
|
||||||
else
|
else
|
||||||
|
2
.github/workflows/translate_pt.yml
vendored
2
.github/workflows/translate_pt.yml
vendored
@ -61,7 +61,7 @@ jobs:
|
|||||||
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
export OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}
|
||||||
|
|
||||||
# Run the translation script on each changed file
|
# Run the translation script on each changed file
|
||||||
git diff-tree --no-commit-id --name-only -r "$GITHUB_SHA" | grep -v "SUMMARY.md" | while read -r file; do
|
git diff --name-only HEAD~1 | grep -v "SUMMARY.md" | while read -r file; do
|
||||||
if echo "$file" | grep -qE '\.md$'; then
|
if echo "$file" | grep -qE '\.md$'; then
|
||||||
echo -n "$file , " >> /tmp/file_paths.txt
|
echo -n "$file , " >> /tmp/file_paths.txt
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user