Skip to content

Commit 0658c36

Browse files
authored
Merge pull request #7 from nhs-england-tools/update-readme
Update Readme, Give Dependabot Permissions
2 parents 1505871 + fbd2690 commit 0658c36

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/test-actions.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: [ main ]
66
workflow_dispatch:
77

8+
permissions:
9+
pull-requests: write
10+
issues: write
11+
812
jobs:
913
test-iac-scan:
1014
name: Test IaC Scan Action

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ When referencing these actions in your workflows, **always use a specific releas
1010

1111
```yaml
1212
# ✅ Good - Use specific release tag
13-
uses: nhs-england-tools/trivy-action/iac-scan@v1.0.0
13+
uses: nhs-england-tools/trivy-action/iac-scan@v1.1.0
1414

1515
# ❌ Avoid - Using main branch in production
1616
uses: nhs-england-tools/trivy-action/iac-scan@main
@@ -32,7 +32,7 @@ Performs comprehensive Trivy Infrastructure as Code scanning and reporting for T
3232

3333
```yaml
3434
- name: Run Trivy IaC Scan
35-
uses: nhs-england-tools/trivy-action/iac-scan@v1.0.0
35+
uses: nhs-england-tools/trivy-action/iac-scan@v1.1.0
3636
with:
3737
scan-ref: './terraform'
3838
severity: 'HIGH,CRITICAL'
@@ -67,7 +67,7 @@ Performs Software Bill of Materials (SBOM) scanning and reporting with optional
6767

6868
```yaml
6969
- name: Generate SBOM
70-
uses: nhs-england-tools/trivy-action/sbom-scan@v1.0.0
70+
uses: nhs-england-tools/trivy-action/sbom-scan@v1.1.0
7171
with:
7272
image-ref: 'myapp:latest'
7373
publish-to-dependency-graph: 'true'

0 commit comments

Comments
 (0)