Skip to content

fix: new workflow to prevent tokenless coverage #2

fix: new workflow to prevent tokenless coverage

fix: new workflow to prevent tokenless coverage #2

name: Code Coverage Fork
on:
pull_request_target:
branches:
- '**'
jobs:
- name: Run Coverage

Check failure on line 10 in .github/workflows/code_coverage_fork.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/code_coverage_fork.yaml

Invalid workflow file

You have an error in your yaml syntax on line 10
if: matrix.python-version == '3.8' && matrix.toxenv=='django42'
uses: codecov/codecov-action@v4
with:
flags: unittests
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}