mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
GNuComment: clear comment log before appending the messages
This commit is contained in:
parent
8c504edfca
commit
7febaf8b68
1 changed files with 4 additions and 0 deletions
4
.github/workflows/GnuTests.yml
vendored
4
.github/workflows/GnuTests.yml
vendored
|
@ -194,6 +194,10 @@ jobs:
|
||||||
mkdir -p ${COMMENT_DIR}
|
mkdir -p ${COMMENT_DIR}
|
||||||
echo ${{ github.event.number }} > ${COMMENT_DIR}/NR
|
echo ${{ github.event.number }} > ${COMMENT_DIR}/NR
|
||||||
COMMENT_LOG="${COMMENT_DIR}/result.txt"
|
COMMENT_LOG="${COMMENT_DIR}/result.txt"
|
||||||
|
|
||||||
|
# The comment log might be downloaded from a previous run
|
||||||
|
# We only want the new changes, so remove it if it exists.
|
||||||
|
rm -f ${COMMENT_LOG}
|
||||||
touch ${COMMENT_LOG}
|
touch ${COMMENT_LOG}
|
||||||
|
|
||||||
if test -f "${REF_LOG_FILE}"; then
|
if test -f "${REF_LOG_FILE}"; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue