Skip to content

Commit 5a6f355

Browse files
NRL-1417 temporarily add SBOM step to PR workflow to test
1 parent 6a08c8f commit 5a6f355

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/pr-env-deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Deploy PR Environment
22
run-name: "${{ github.event.action == 'synchronize' && 'Update' || 'Create' }} PR Environment - #${{ github.event.pull_request.number }} (${{ github.event.pull_request.title }})"
33

44
on:
5+
workflow_dispatch:
56
pull_request:
67
types: [opened, reopened, synchronize]
78

@@ -68,6 +69,11 @@ jobs:
6869
- name: Build Project
6970
run: make build
7071

72+
- name: Generate SBOM
73+
uses: nhs-england-tools/trivy-action/sbom-scan@v1.4.0
74+
with:
75+
repo-path: "./"
76+
7177
- name: Configure Management Credentials
7278
uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a #v4.3.1
7379
with:

0 commit comments

Comments
 (0)