feat(ci): enhance CI workflows to detect and publish event schemas pa… #392
cicd-1-pull-request.yaml
on: push
Set CI/CD metadata
Commit stage
/
Check English usage
Commit stage
/
Check Markdown format
Commit stage
/
Check TODO usage
Commit stage
/
Check file format
Commit stage
/
Count lines of code
Commit stage
/
Scan dependencies
Commit stage
/
Scan secrets
Commit stage
/
Check for changes to event schema package compared to main branch
Commit stage
/
Check event schema version has been updated
Commit stage
/
Check for event schemas package version change
Commit stage
/
Lint Terraform
Commit stage
/
Run terraform-docs
Test stage
/
Check generated dependencies
Test stage
/
Linting
Test stage
/
Typecheck
Test stage
/
Perform static analysis
Test stage
/
Test coverage
Build stage
/
Artefact 1
Build stage
/
Artefact n
Build stage
/
Build Docs
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.yaml#L90
The workflow is not valid. .github/workflows/cicd-1-pull-request.yaml (Line: 90, Col: 3): Error calling workflow 'NHSDigital/nhs-notify-client-config/.github/workflows/stage-1-commit.yaml@198e172e63aa42c174c5feb4b232fd175b638e18'. The nested job 'terraform-docs' is requesting 'contents: write', but is only allowed 'contents: read'. .github/workflows/cicd-1-pull-request.yaml (Line: 90, Col: 3): Error calling workflow 'NHSDigital/nhs-notify-client-config/.github/workflows/stage-1-commit.yaml@198e172e63aa42c174c5feb4b232fd175b638e18'. The nested job 'check-event-schemas-version-change' is requesting 'packages: read', but is only allowed 'packages: none'.
|