Run default semgrep test suite for actions #6
Workflow file for this run
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
| ### Ensure that our local testing always passes | |
| name: Run semver tests | |
| on: | |
| pull_request: {} | |
| permissions: | |
| contents: read | |
| actions: read | |
| jobs: | |
| semgrep-tests: | |
| name: Run semgrep tests | |
| runs-on: ubuntu-latest | |
| container: | |
| image: semgrep/semgrep | |
| # Skip any PR created by dependabot to avoid permission issues: | |
| if: (github.actor != 'dependabot[bot]') | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| - name: Run Actions semgrep scan | |
| run: semgrep --test --config semgrep-rules semgrep-tests |