Skip to content

Commit

Permalink
Update pr_validation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandut authored Oct 23, 2024
1 parent ba0b424 commit c232310
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/pr_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ jobs:
echo "https://img.shields.io/badge/coverage-${total_cov}%25-${COLOR}"
curl "https://img.shields.io/badge/coverage-${total_cov}%25-${COLOR}" > badges/cov_badge.svg
echo "" >> badges/cov_badge.svg
- name: Checkout to current branch to be able to commit
if: github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit coverage badge
if: github.event_name == 'pull_request'
uses: EndBug/add-and-commit@v9
Expand Down

0 comments on commit c232310

Please sign in to comment.