Merge pull request #184 from advanced-security/dependabot/github_acti… #138
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Query Coverage Report | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: "Run Coverage Report" | |
| if: github.ref == 'refs/heads/main' | |
| run: | | |
| pip install ghastoolkit | |
| ./scripts/create-coverage.py report --markdown > $GITHUB_STEP_SUMMARY | |
| - name: "Upload Coverage Report" | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: coverage-report | |
| path: coverage.csv |