Skip to content

fix: glob wasnt outdated. marked as false positive #193

fix: glob wasnt outdated. marked as false positive

fix: glob wasnt outdated. marked as false positive #193

Workflow file for this run

name: Code Coverage
on:
push:
# only trigger if theres a change in src/ directory
paths:
- '.github/workflows/code-coverage.yml'
- 'clover.xml'
pull_request:
paths:
- '.github/workflows/code-coverage.yml'
- 'clover.xml'
workflow_dispatch:
permissions:
contents: write
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Make code coverage badge
uses: timkrase/phpunit-coverage-badge@v1.2.1
with:
coverage_badge_path: coverage.svg
push_badge: false
- name: Commit badge
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add coverage.svg
git commit -am "coverage.svg badge updated" --no-verify
git push --no-verify
continue-on-error: true # do not fail if nothing changed