Skip to content

build(deps): bump actions/checkout from 5.0.0 to 6.0.0 #268

build(deps): bump actions/checkout from 5.0.0 to 6.0.0

build(deps): bump actions/checkout from 5.0.0 to 6.0.0 #268

Workflow file for this run

name: Checkmarx One Scan (Fork-Friendly)
# use only job-level permissions
permissions: {}
on:
pull_request_target: # Changed from pull_request to pull_request_target
types: [opened, synchronize, reopened]
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
jobs:
build:
permissions:
contents: read
pull-requests: write
security-events: write
actions: read # to query workflows/runs
runs-on: ubuntu-latest
steps:
# CRITICAL: DO NOT CHECKOUT THE PR CODE
# This is what makes it safe with pull_request_target
- name: Checkmarx Full Scan
uses: midnightntwrk/upload-sarif-github-action/checkmarx-scan-public@53cdf3148dbbd85518ecc5e8f1ec485852c99c36
with:
cx-client-id: ${{ secrets.CX_CLIENT_ID }}
cx-client-secret: ${{ secrets.CX_CLIENT_SECRET_EU }}
cx-tenant: ${{ secrets.CX_TENANT }}
scs-repo-token: ${{ secrets.MIDNIGHTCI_REPO }}
upload-to-github: 'true'