ci: build and test on pull requests and before publishing (#88) #207
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: Code scanning | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| schedule: | |
| # Run every Wednesday at 00:00 UTC. | |
| - cron: 0 0 * * 3 | |
| permissions: {} | |
| jobs: | |
| github-actions: | |
| # Scan GitHub Actions workflow files for security vulnerabilities. | |
| name: GitHub Actions | |
| permissions: | |
| contents: read | |
| actions: read | |
| security-events: write | |
| uses: equinor/ops-actions/.github/workflows/zizmor-codeql.yml@2198d70491e461c59dd3560b9ea10b1080d863c5 # v9.39.6 |