From 1e3bb3763143f1aa1c1607d9ec4862bdbaf0b392 Mon Sep 17 00:00:00 2001 From: Anthony Brown Date: Wed, 1 Apr 2026 13:59:48 +0000 Subject: [PATCH] fix sync copilot workflow --- .github/workflows/sync_copilot.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sync_copilot.yml b/.github/workflows/sync_copilot.yml index 337c51e1d1..fa03c3a354 100644 --- a/.github/workflows/sync_copilot.yml +++ b/.github/workflows/sync_copilot.yml @@ -1,23 +1,24 @@ -name: Update devcontainer version +name: Sync Copilot Instructions on: workflow_dispatch: schedule: - cron: '0 6 * * 1' + permissions: {} jobs: - update-devcontainer-version: + sync-copilot-instructions: runs-on: ubuntu-22.04 environment: create_pull_request permissions: contents: read - packages: read steps: - - name: Update devcontainer version - uses: NHSDigital/eps-update-devcontainer@dc3a8c5f11e7226ee4f5f2bb35bd0d1265092306 + - name: Sync shared instructions + uses: NHSDigital/eps-copilot-instructions@304ab2f4b7cdc15a1d7c0a0fae5290fad41b2451 with: + copilot_instructions_ref: main calling_repo_base_branch: main CREATE_PULL_REQUEST_APP_ID: ${{ secrets.CREATE_PULL_REQUEST_APP_ID }} CREATE_PULL_REQUEST_PEM: ${{ secrets.CREATE_PULL_REQUEST_PEM }}