Chore: [AEA-6424] - use new common workflows#2951
Merged
anthony-nhs merged 6 commits intomainfrom Apr 8, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates this repo to align with the latest eps-common-workflows and hardens workflow/repo guardrails (least-privilege permissions, ownership restrictions), while replacing Trivy ignore configuration with Grype/Zizmor configuration.
Changes:
- Bump reusable workflow references to the latest
NHSDigital/eps-common-workflowsand add explicit least-privilegepermissionsblocks across workflows. - Add Grype/Zizmor configuration and wire a Grype scan into pre-commit; ignore generated SBOM output.
- Add CODEOWNERS protection for workflow updates and remove legacy Trivy ignore + deprecated composite actions.
Reviewed changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
zizmor.yml |
Adds Zizmor rule ignores for known findings in workflows. |
.trivyignore.yaml |
Removes Trivy ignore list (risk: Trivy config still present elsewhere). |
.pre-commit-config.yaml |
Adds a local pre-commit hook to run a Grype scan. |
.grype.yaml |
Adds Grype ignore configuration for a specific GHSA. |
.gitignore |
Ignores .sbom/ output directory. |
.github/workflows/run_release_code_and_api.yml |
Adds workflow-level permissions lockdown and various hardening tweaks (checkout credential persistence, env usage). |
.github/workflows/run_regression_tests.yml |
Adds workflow-level permissions lockdown and checkout hardening. |
.github/workflows/run_package_code_and_api.yml |
Adds workflow-level permissions lockdown and checkout hardening. |
.github/workflows/release.yml |
Updates common workflow pins and adds explicit job permissions. |
.github/workflows/pull_request.yml |
Updates common workflow pins and adds explicit job permissions. |
.github/workflows/delete_old_cloudformation_stacks.yml |
Adds workflow-level permissions lockdown and checkout hardening. |
.github/workflows/ci.yml |
Updates common workflow pins and adds explicit job permissions. |
.github/CODEOWNERS |
Restricts approvals for workflow changes to @NHSDigital/eps-admins. |
.github/actions/update_confluence_jira/action.yml |
Removes unused composite action. |
.github/actions/mark_jira_released/action.yml |
Removes unused composite action. |
.devcontainer/devcontainer.json |
Bumps devcontainer image version. |
|
tstephen-nhs
reviewed
Apr 8, 2026
MatthewPopat-NHS
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Details