Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/checkmarx.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Checkmarx One Scan

# ↓ lock down top‐level permissions to only what we use
permissions:
contents: read # we only need to checkout code
actions: read # to query workflows/runs
pull-requests: write # to comment on or label PRs
# use only job-level permissions
permissions: {}

on:
pull_request:
branches: [ '**' ]
push:
branches: [ 'main' ]
workflow_dispatch: {} # so you can still run it manually
schedule:
- cron: "0 0 * * *" # run daily at midnight UTC
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
Expand All @@ -20,6 +20,7 @@ jobs:
contents: read
pull-requests: write
security-events: write
actions: read # to query workflows/runs

runs-on: ubuntu-latest

Expand Down
Loading