Update synopsys-io.yml #9
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: Synopsys Intelligent Security Scan | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: {} | |
| jobs: | |
| synopsys-io: | |
| name: Synopsys Intelligent Security Scan (IO) | |
| runs-on: ubuntu-latest | |
| # environment: production | |
| permissions: | |
| contents: read | |
| security-events: write | |
| actions: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Fail fast if IO secrets missing | |
| shell: bash | |
| env: | |
| IO_SERVER_URL: ${{ secrets.IO_SERVER_URL }} | |
| IO_SERVER_TOKEN: ${{ secrets.IO_SERVER_TOKEN }} | |
| run: | | |
| if [ -z "${IO_SERVER_URL}" ] || [ -z "${IO_SERVER_TOKEN}" ]; then | |
| echo "Missing required secrets: IO_SERVER_URL and/or IO_SERVER_TOKEN" | |
| exit 1 | |
| fi | |
| - name: Synopsys Intelligent Security Scan | |
| uses: blackduck-inc/intelligent-security-scan@2023.3.3 | |
| with: | |
| ioServerUrl: ${{ secrets.IO_SERVER_URL }} | |
| ioServerToken: ${{ secrets.IO_SERVER_TOKEN }} | |
| stage: IO |