Skip to content

Commit

Permalink
Update coverage script (#432)
Browse files Browse the repository at this point in the history
* update github action coverage script

* test coverage check

* test coverage check

* test coverage check

* test coverage check

* test coverage check

* test coverage check
  • Loading branch information
maggie98choy committed Feb 15, 2024
1 parent 8e1a884 commit aa1589c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/post-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aa1589c

Please sign in to comment.