From aa1589ccda67287106e3afd55e9a279b8af0808b Mon Sep 17 00:00:00 2001 From: Maggie Choy Date: Thu, 15 Feb 2024 09:17:52 -0800 Subject: [PATCH] Update coverage script (#432) * update github action coverage script * test coverage check * test coverage check * test coverage check * test coverage check * test coverage check * test coverage check --- .github/workflows/post-merge.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/post-merge.yml b/.github/workflows/post-merge.yml index a0120119c..7207b3818 100644 --- a/.github/workflows/post-merge.yml +++ b/.github/workflows/post-merge.yml @@ -47,15 +47,15 @@ jobs: - name: update threshold and push changes if: ${{ fromJSON(env.CURRENT_LOWER_THRESHOLD) > fromJSON(env.LOWER_COVERAGE_THRESHOLD) }} run: | - rm ./ci/coverage_threshold.txt - cp ./ci/coverage_threshold_temp.txt ./ci/coverage_threshold.txt git clone https://github.com/rdkcentral/Ripple.git cd Ripple git fetch git checkout locked_actions_branch git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - git add ../ci/coverage_threshold.txt + rm ./ci/coverage_threshold.txt + cp ../ci/coverage_threshold_temp.txt ./ci/coverage_threshold.txt + git add ./ci/coverage_threshold.txt git commit -m "chore: git bot update threshold" ls git push origin head:locked_actions_branch