build(deps): bump actions/checkout from 5.0.0 to 6.0.0 #268
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
| 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' |