test: maks test GHA Prisma #1
Workflow file for this run
This file contains 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: Checkov scan | |
on: | |
push: | |
branches: | |
# - release | |
# - main | |
- maks-test-gha | |
schedule: | |
# Run every day at 2:00 AM | |
- cron: '0 2 * * *' | |
jobs: | |
checkov-scan-scheduled: | |
# Will be triggerred if the scheduled event occurs on the develop branch | |
# if: github.event_name == 'schedule' && github.ref == 'refs/heads/develop' | |
if: github.event_name == 'schedule' && github.ref == 'refs/heads/maks-test-gha' | |
permissions: | |
contents: write # for actions/checkout to fetch code | |
pull-requests: write # for action to create PR | |
runs-on: ubuntu-latest | |
timeout-minutes: 2 | |
steps: | |
- uses: dequelabs/axe-api-team-public/.github/actions/checkov-scans-v1@main | |
with: | |
output-file-path: sca/ | |
checkov-scan-on-push: | |
# Will be triggerred when there's a push event on the release or main branch | |
# if: github.event_name == 'push' && (github.ref == 'refs/heads/release' || github.ref == 'refs/heads/main') | |
if: github.event_name == 'push' && github.ref == 'refs/heads/maks-test-gha' | |
permissions: | |
contents: write # for actions/checkout to fetch code | |
pull-requests: write # for action to create PR | |
runs-on: ubuntu-latest | |
timeout-minutes: 2 | |
steps: | |
- uses: dequelabs/axe-api-team-public/.github/actions/checkov-scans-v1@main | |
with: | |
output-file-path: sca/ |