Skip to content

Chore: [AEA-0000] - schedule dev container upgarade#114

Merged
anthony-nhs merged 1 commit intomainfrom
schedule_workflow
Mar 27, 2026
Merged

Chore: [AEA-0000] - schedule dev container upgarade#114
anthony-nhs merged 1 commit intomainfrom
schedule_workflow

Conversation

@anthony-nhs
Copy link
Copy Markdown
Contributor

Summary

  • Routine Change

Details

  • schedule dev container upgarde

Copilot AI review requested due to automatic review settings March 27, 2026 12:38
@github-actions
Copy link
Copy Markdown
Contributor

This PR is linked to a ticket in an NHS Digital JIRA Project. Here's a handy link to the ticket:

AEA-0000

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a scheduled GitHub Actions workflow to periodically run the existing reusable workflow that updates the devcontainer image version.

Changes:

  • Introduces a new scheduled workflow triggered weekly (and manually via workflow_dispatch).
  • Invokes the reusable update-dev-container-version.yml workflow with required secrets and base branch.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +4 to +19
workflow_dispatch:
schedule:
- cron: "0 18 * * 4"

jobs:
update_devcontainer_version:
uses: ./.github/workflows/update-dev-container-version.yml
permissions:
contents: read
packages: read
pull-requests: write
with:
base_branch: main
secrets:
CREATE_PULL_REQUEST_APP_ID: ${{ secrets.CREATE_PULL_REQUEST_APP_ID }}
CREATE_PULL_REQUEST_PEM: ${{ secrets.CREATE_PULL_REQUEST_PEM }}
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation in this workflow uses 4/8 spaces (e.g., under on: and jobs:). The rest of the repo’s workflow YAMLs consistently use 2-space indentation (e.g. .github/workflows/pull_request.yml:3-6 and release.yml:3-6). Re-indent this file to 2 spaces to match conventions and reduce the chance of YAML structure mistakes during future edits.

Suggested change
workflow_dispatch:
schedule:
- cron: "0 18 * * 4"
jobs:
update_devcontainer_version:
uses: ./.github/workflows/update-dev-container-version.yml
permissions:
contents: read
packages: read
pull-requests: write
with:
base_branch: main
secrets:
CREATE_PULL_REQUEST_APP_ID: ${{ secrets.CREATE_PULL_REQUEST_APP_ID }}
CREATE_PULL_REQUEST_PEM: ${{ secrets.CREATE_PULL_REQUEST_PEM }}
workflow_dispatch:
schedule:
- cron: "0 18 * * 4"
jobs:
update_devcontainer_version:
uses: ./.github/workflows/update-dev-container-version.yml
permissions:
contents: read
packages: read
pull-requests: write
with:
base_branch: main
secrets:
CREATE_PULL_REQUEST_APP_ID: ${{ secrets.CREATE_PULL_REQUEST_APP_ID }}
CREATE_PULL_REQUEST_PEM: ${{ secrets.CREATE_PULL_REQUEST_PEM }}

Copilot uses AI. Check for mistakes.
@sonarqubecloud
Copy link
Copy Markdown

@anthony-nhs anthony-nhs merged commit 07881ad into main Mar 27, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants