Skip to content

Commit 9b46d23

Browse files
committed
ci: don't modify pdd.xml back and forth when commit author has changed
Fix #1659
1 parent 9b33980 commit 9b46d23

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/todos-extract-from-code.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ jobs:
6363
- name: Remove the current date from pdd.xml
6464
run: sed -i -E '/<time>[-0-9T:Z]+<\/time>/d;/<puzzles/s| date="[-0-9T:Z]+"||' pdd.xml
6565

66+
# Workaround for #1659
67+
- name: Remove author and email
68+
run: sed -i '/<author>/d;/<email>/d' pdd.xml
69+
6670
- name: Generate todos-in-code.tsv
6771
run: ./src/main/scripts/ci/pdd-xml-to-json.sh pdd.xml | ./src/main/scripts/ci/pdd-json-to-tsv.sh > todos-in-code.tsv
6872

0 commit comments

Comments
 (0)