File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Follow these conventions:
2525Project-specific rules:
2626- Python: 4 spaces (override BC Gov standard)
2727- APIs: Additional validation for public endpoints
28- - Branches: feature/JIRA-123-description
28+ - Branches: always created from ` main ` ( ` git checkout main && git pull && git checkout -b feature/JIRA-123-description` )
2929
3030Never:
3131- Create duplicate files
Original file line number Diff line number Diff line change @@ -21,21 +21,23 @@ jobs:
2121 trivy :
2222 name : Trivy Security Scan
2323 if : github.event_name != 'pull_request' || !github.event.pull_request.draft
24- runs-on : ubuntu-24.04
24+ continue-on-error : true
25+ runs-on : ubuntu-latest
26+ timeout-minutes : 1
2527 permissions :
2628 contents : read
2729 security-events : write
2830 steps :
2931 - uses : actions/checkout@v6
3032
3133 - name : Run Trivy vulnerability scanner in repo mode
32- uses : aquasecurity/trivy-action@0.34.1
34+ uses : aquasecurity/trivy-action@e368e328979b113139d6f9068e03accaed98a518 # 0.34.1
3335 with :
3436 format : " sarif"
3537 output : " trivy-results.sarif"
3638 ignore-unfixed : true
3739 scan-type : " fs"
38- scanners : " vuln,secret,config "
40+ scanners : " vuln,secret,misconfig "
3941 severity : " CRITICAL,HIGH"
4042
4143 - name : Upload Trivy scan results to GitHub Security tab
You can’t perform that action at this time.
0 commit comments