@@ -14,7 +14,7 @@ This repository contains the shared GitHub Copilot instruction files used across
1414The action is intended to be called from another repository. It:
1515
16161 . Checks out the calling repository at the requested base branch
17- 2 . Checks out the central source repository at the requested ref
17+ 2 . Checks out copilot instruction files from copilot_instructions_ref repository at the requested ref
18183 . Replaces the target repository's Copilot instruction files with the shared versions
19194 . Creates a signed pull request containing the sync changes
2020
@@ -35,7 +35,7 @@ Existing copies of those paths in the calling repository are removed before the
3535
3636| Input | Required | Default | Description |
3737| --- | --- | --- | --- |
38- | ` common_workflows_ref ` | No | ` main ` | Git ref to check out from the central source repository |
38+ | ` copilot_instructions_ref ` | No | ` main ` | Git ref to check out from the eps-copilot-instructions repository |
3939| ` calling_repo_base_branch ` | No | ` main ` | Base branch in the calling repository that the pull request should target |
4040| ` CREATE_PULL_REQUEST_APP_ID ` | Yes | None | GitHub App ID used to generate a token for pull request creation |
4141| ` CREATE_PULL_REQUEST_PEM ` | Yes | None | GitHub App private key in PEM format |
6161 - name : Sync shared instructions
6262 uses : NHSDigital/eps-copilot-instructions@95118f6746ca7081258cc7f651dca1c5bb7339f1
6363 with :
64- common_workflows_ref : main
64+ copilot_instructions_ref : main
6565 calling_repo_base_branch : main
6666 CREATE_PULL_REQUEST_APP_ID : ${{ secrets.CREATE_PULL_REQUEST_APP_ID }}
6767 CREATE_PULL_REQUEST_PEM : ${{ secrets.CREATE_PULL_REQUEST_PEM }}
0 commit comments