From 4a1e37aa78945e169bbdfc31b9c620c2de19e61c Mon Sep 17 00:00:00 2001 From: Sun Serega Date: Sat, 14 Sep 2024 07:01:31 +0200 Subject: [PATCH] upstream pretest: ignore `*.log` conflicts --- .github/workflows/upstream pretest.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/upstream pretest.yaml b/.github/workflows/upstream pretest.yaml index d69c9029..64ebeb90 100644 --- a/.github/workflows/upstream pretest.yaml +++ b/.github/workflows/upstream pretest.yaml @@ -476,8 +476,11 @@ jobs: git reset "DataScraping/Reps/$subm_name" if (-not $?) { throw "git reset failed" } + git add *.log + if (-not $?) { throw "git add (unmerged *.log files) failed" } + git commit --no-edit - if (-not $?) { throw "git commit failed" } + if (-not $?) { throw "git commit (after merge) failed" } } git push