Skip to content

Commit 426f1c2

Browse files
authored
Update synopsys-io.yml
1 parent 46e918d commit 426f1c2

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/synopsys-io.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@ name: Synopsys Intelligent Security Scan
22

33
on:
44
push:
5-
branches: [ "main", "develop" ]
6-
workflow_dispatch:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
workflow_dispatch: {}
711

812
jobs:
913
synopsys-io:
14+
name: Synopsys Intelligent Security Scan (IO)
1015
runs-on: ubuntu-latest
16+
1117
permissions:
1218
contents: read
1319
security-events: write
@@ -17,6 +23,12 @@ jobs:
1723
- name: Checkout
1824
uses: actions/checkout@v4
1925

26+
- name: Assert required secrets present
27+
if: ${{ secrets.IO_SERVER_URL == '' || secrets.IO_SERVER_TOKEN == '' }}
28+
run: |
29+
echo "Missing IO_SERVER_URL and/or IO_SERVER_TOKEN"
30+
exit 1
31+
2032
- name: Synopsys Intelligent Security Scan
2133
uses: blackduck-inc/intelligent-security-scan@2023.3.3
2234
with:

0 commit comments

Comments
 (0)