File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 5959 run : |
6060 sed -i '/<!-- Pytest Coverage Comment:Begin -->/,/<!-- Pytest Coverage Comment:End -->/c\<!-- Pytest Coverage Comment:Begin -->\n\${{ steps.coverageComment.outputs.coverageHtml }}\n<!-- Pytest Coverage Comment:End -->' ./README.md
6161
62- - name : Commit & Push changes to README
63- run : |
64- git config --global user.name 'github-actions[bot]'
65- git config --global user.email 'github-actions[bot]@users.noreply.github.com'
66- git add README.md
67- git commit -m 'Update coverage badge in README'
68- git push
62+ - name : Commit & Push changes to Readme
63+ if : ${{ github.ref == 'refs/heads/main' }}
64+ uses : actions-js/push@master
65+ with :
66+ message : Update coverage on Readme
67+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments