Merge pull request #245 from advanced-security/dependabot/github_acti… #175
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 | |
| permissions: | |
| contents: read | |
| actions: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - 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@v6 | |
| with: | |
| name: coverage-report | |
| path: coverage.csv |