mirror of
https://github.com/uutils/coreutils
synced 2024-10-07 00:19:14 +00:00
Merge pull request #4019 from tertsdiepraam/ci-post-gnu-comment
GnuComment: clear comment log before appending the messages
This commit is contained in:
commit
46ceea0442
4
.github/workflows/GnuTests.yml
vendored
4
.github/workflows/GnuTests.yml
vendored
|
@ -194,6 +194,10 @@ jobs:
|
|||
mkdir -p ${COMMENT_DIR}
|
||||
echo ${{ github.event.number }} > ${COMMENT_DIR}/NR
|
||||
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}
|
||||
|
||||
if test -f "${REF_LOG_FILE}"; then
|
||||
|
|
Loading…
Reference in a new issue