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 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-instructionsaction pinned to a specific commit SHA. - Configures the workflow to run against
mainand 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 |
There was a problem hiding this comment.
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.
| contents: read | |
| contents: write | |
| pull-requests: write |
|



Summary
Details