File tree Expand file tree Collapse file tree 2 files changed +15
-11
lines changed
Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change 3838 - name : Run Unit Tests
3939 run : make test
4040
41- - name : Generate SBOM
42- uses : nhs-england-tools/trivy-action/sbom-scan@v1.4.0
43- with :
44- repo-path : " ./"
45-
4641 - name : Build Project
4742 run : make build
4843
7267 with :
7368 key : ${{ github.run_id }}-nrlf-permissions
7469 path : dist/nrlf_permissions.zip
70+
71+ sbom :
72+ name : Generate SBOM - ${{ github.ref }}
73+ runs-on : ubuntu-latest
74+
75+ steps :
76+ - name : Git clone - ${{ github.ref }}
77+ uses : actions/checkout@v4
78+ with :
79+ ref : ${{ github.ref }}
80+
81+ - name : Generate SBOM
82+ uses : nhs-england-tools/trivy-action/sbom-scan@v1.4.0
83+ with :
84+ repo-path : " ./"
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ name: Deploy PR Environment
22run-name : " ${{ github.event.action == 'synchronize' && 'Update' || 'Create' }} PR Environment - #${{ github.event.pull_request.number }} (${{ github.event.pull_request.title }})"
33
44on :
5- workflow_dispatch :
65 pull_request :
76 types : [opened, reopened, synchronize]
87
6968 - name : Build Project
7069 run : make build
7170
72- - name : Generate SBOM
73- uses : nhs-england-tools/trivy-action/sbom-scan@v1.4.0
74- with :
75- repo-path : " ./"
76-
7771 - name : Configure Management Credentials
7872 uses : aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4.3.1
7973 with :
You can’t perform that action at this time.
0 commit comments