Chore: [AEA-0000] - workflow to update dev container#1950
Chore: [AEA-0000] - workflow to update dev container#1950anthony-nhs wants to merge 2 commits intomainfrom
Conversation
|
This PR is linked to a ticket in an NHS Digital JIRA Project. Here's a handy link to the ticket: AEA-0000 |
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow to automate updating the repository’s devcontainer version by invoking the shared eps-common-workflows reusable workflow.
Changes:
- Introduces a new scheduled + manual (
workflow_dispatch) workflow to update the devcontainer version. - Configures job permissions and passes automerge GitHub App secrets into the reusable workflow.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| contents: read | ||
| packages: read | ||
| pull-requests: write |
There was a problem hiding this comment.
permissions: values are indented more deeply than elsewhere in this repo’s workflow files (e.g., other workflows use two-space indentation under permissions:). While YAML will still parse, matching the existing indentation improves readability and reduces the chance of future YAML indentation mistakes.
| contents: read | |
| packages: read | |
| pull-requests: write | |
| contents: read | |
| packages: read | |
| pull-requests: write |
|
|
||
| jobs: | ||
| update_devcontainer_version: | ||
| uses: NHSDigital/eps-common-workflows/.github/workflows/update-dev-container-version.yml@d2a4595b1bfa59f04c7cecb080a126321d42a333 |
There was a problem hiding this comment.
This workflow pins NHSDigital/eps-common-workflows to a different commit SHA than the rest of the repo’s workflows (which consistently use @5ac2707…). If possible, align this uses: ref to the same SHA as the other workflows, or update the other workflows to the new SHA in the same PR to avoid maintaining multiple versions of the shared workflow set.
| uses: NHSDigital/eps-common-workflows/.github/workflows/update-dev-container-version.yml@d2a4595b1bfa59f04c7cecb080a126321d42a333 | |
| uses: NHSDigital/eps-common-workflows/.github/workflows/update-dev-container-version.yml@5ac2707b1bfa59f04c7cecb080a126321d42a333 |
|



Summary
Details