mirror of
https://github.com/msberends/AMR.git
synced 2025-09-08 00:09:50 +02:00
(v3.0.0.9023) update todo tracker
This commit is contained in:
10
.github/workflows/todo-tracker.yml
vendored
10
.github/workflows/todo-tracker.yml
vendored
@@ -43,9 +43,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate TODO list from R/
|
- name: Generate TODO list from R/
|
||||||
run: |
|
run: |
|
||||||
echo "## TODO Report" > todo.md
|
echo "## \`TODO\` Report" > todo.md
|
||||||
echo "" >> todo.md
|
echo "" >> todo.md
|
||||||
echo "_This issue is automatically updated on each push to `main`._" >> todo.md
|
echo "_This overview is automatically updated on each push to \`main\`. It provides an automated overview of all mentions of the text \`TODO\`._" >> todo.md
|
||||||
echo "" >> todo.md
|
echo "" >> todo.md
|
||||||
todos=$(find R/ -type f ! -name "sysdata.rda" -exec grep -nH "TODO" {} + || true)
|
todos=$(find R/ -type f ! -name "sysdata.rda" -exec grep -nH "TODO" {} + || true)
|
||||||
if [ -z "$todos" ]; then
|
if [ -z "$todos" ]; then
|
||||||
@@ -57,13 +57,16 @@ jobs:
|
|||||||
line = $2
|
line = $2
|
||||||
text = substr($0, index($0,$3))
|
text = substr($0, index($0,$3))
|
||||||
if (file != last_file) {
|
if (file != last_file) {
|
||||||
if (last_file != "") print ""
|
if (last_file != "") print "```"
|
||||||
|
print ""
|
||||||
print "### " file
|
print "### " file
|
||||||
|
print "```r"
|
||||||
last_file = file
|
last_file = file
|
||||||
}
|
}
|
||||||
printf "L%s: %s\n", line, text
|
printf "L%s: %s\n", line, text
|
||||||
}
|
}
|
||||||
' >> todo.md
|
' >> todo.md
|
||||||
|
echo "\`\`\`" >> todo.md
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Update GitHub issue
|
- name: Update GitHub issue
|
||||||
@@ -71,5 +74,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{ secrets.GH_REPO_SCOPE }}
|
token: ${{ secrets.GH_REPO_SCOPE }}
|
||||||
issue-number: 231
|
issue-number: 231
|
||||||
|
comment-id: 3379846566
|
||||||
body-file: todo.md
|
body-file: todo.md
|
||||||
edit-mode: replace
|
edit-mode: replace
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
Package: AMR
|
Package: AMR
|
||||||
Version: 3.0.0.9022
|
Version: 3.0.0.9023
|
||||||
Date: 2025-09-03
|
Date: 2025-09-04
|
||||||
Title: Antimicrobial Resistance Data Analysis
|
Title: Antimicrobial Resistance Data Analysis
|
||||||
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
Description: Functions to simplify and standardise antimicrobial resistance (AMR)
|
||||||
data analysis and to work with microbial and antimicrobial properties by
|
data analysis and to work with microbial and antimicrobial properties by
|
||||||
|
Reference in New Issue
Block a user