Skip to content

Commit 3305828

Browse files
committed
chore: fix the case when connect-todos-to-issues.sh doesn't see newly added puzzles as the files weren't moved
Correction for a1bffa5 commit. Relate to #1610
1 parent 1c5c0c2 commit 3305828

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: .github/workflows/todos-extract-from-code.yml

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
PUZZLES_FILES_MODIFIED=yes
7979
elif ! diff --brief generated-todos/pdd.xml pdd.xml >/dev/null; then
8080
echo 'pdd.xml has been modified'
81+
mv pdd.xml generated-todos/pdd.xml
8182
PUZZLES_FILES_MODIFIED=yes
8283
fi
8384
@@ -87,6 +88,7 @@ jobs:
8788
PUZZLES_FILES_MODIFIED=yes
8889
elif ! diff --brief generated-todos/todos-in-code.tsv todos-in-code.tsv >/dev/null; then
8990
echo 'todos-in-code.tsv has been modified'
91+
mv todos-in-code.tsv generated-todos/todos-in-code.tsv
9092
PUZZLES_FILES_MODIFIED=yes
9193
fi
9294

0 commit comments

Comments
 (0)