fix: sonarqube issues fix #62
cicd-1-pull-request-devtest.yaml
on: push
Set CI/CD metadata
Commit stage
/
Check English usage
Commit stage
/
Check Markdown format
Commit stage
/
Check file format
Commit stage
/
Count lines of code
Commit stage
/
Lint Terraform
Commit stage
/
Scan dependencies
Commit stage
/
Scan secrets
Matrix: Test stage / Unit tests
Waiting for pending jobs
Matrix: Image build stage / build-and-push
Waiting for pending jobs
Matrix: deploy-stage / Deploy
Waiting for pending jobs
Acceptance stage
/
Accessibility test
Acceptance stage
/
Contract test
Acceptance stage
/
Integration test
Acceptance stage
/
Load test
Acceptance stage
/
Security test
Acceptance stage
/
UI performance test
Acceptance stage
/
UI test
Acceptance stage
/
Environment tear down
Annotations
1 error
|
Invalid workflow file:
.github/workflows/cicd-1-pull-request-devtest.yaml#L77
The workflow is not valid. .github/workflows/cicd-1-pull-request-devtest.yaml (Line: 77, Col: 3): Error calling workflow 'NHSDigital/dtos-cohort-manager/.github/workflows/stage-1-commit.yaml@053626b65bd13834b55b6e7b0b789db7ec2d7ac5'. The nested job 'count-lines-of-code' is requesting 'contents: read', but is only allowed 'contents: none'. .github/workflows/cicd-1-pull-request-devtest.yaml (Line: 77, Col: 3): Error calling workflow 'NHSDigital/dtos-cohort-manager/.github/workflows/stage-1-commit.yaml@053626b65bd13834b55b6e7b0b789db7ec2d7ac5'. The nested job 'scan-dependencies' is requesting 'contents: read', but is only allowed 'contents: none'.
|