Skip to content

Chore: [AEA-0000] - sync copilot#975

Merged
anthony-nhs merged 3 commits intomainfrom
sync_copilot
Apr 1, 2026
Merged

Chore: [AEA-0000] - sync copilot#975
anthony-nhs merged 3 commits intomainfrom
sync_copilot

Conversation

@anthony-nhs
Copy link
Copy Markdown
Contributor

Summary

  • Routine Change

Details

  • sync copilot

Copilot AI review requested due to automatic review settings March 30, 2026 17:03
@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 new GitHub Actions workflow to periodically sync shared Copilot instructions into this repository (and allow manual triggering), aligning the repo with centrally managed guidance.

Changes:

  • Introduces a scheduled + manually-triggered workflow to sync shared Copilot instructions.
  • Uses the NHSDigital/eps-copilot-instructions action pinned to a specific commit SHA.
  • Configures the workflow to run against main and use GitHub App credentials for PR creation.

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

runs-on: ubuntu-22.04
environment: create_pull_request
permissions:
contents: read
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

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

The job only grants contents: read. If this workflow/action creates or updates a pull request using the default GITHUB_TOKEN, it will fail without pull-requests: write (and potentially contents: write for pushing commits). Other PR-creating workflows here (e.g. .github/workflows/update_dev_container_version.yml:11-15) include pull-requests: write; consider aligning permissions accordingly.

Suggested change
contents: read
contents: write
pull-requests: write

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

sonarqubecloud bot commented Apr 1, 2026

@anthony-nhs anthony-nhs merged commit d312b9f into main Apr 1, 2026
16 checks passed
@anthony-nhs anthony-nhs deleted the sync_copilot branch April 1, 2026 13:49
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