Skip to content

Commit 545c3fc

Browse files
committed
fix names
1 parent ec22938 commit 545c3fc

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This repository contains the shared GitHub Copilot instruction files used across
1414
The action is intended to be called from another repository. It:
1515

1616
1. 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
1818
3. Replaces the target repository's Copilot instruction files with the shared versions
1919
4. 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 |
@@ -61,7 +61,7 @@ jobs:
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 }}

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: Sync Copilot Instructions
22
description: "Syncs Copilot instructions from the repository to the GitHub Action's metadata file."
33
inputs:
4-
common_workflows_ref:
5-
description: "The ref to sync from the central repository"
4+
copilot_instructions_ref:
5+
description: "The ref to sync from the eps_copilot_instructions repository"
66
required: false
77
default: "main"
88
calling_repo_base_branch:
@@ -27,7 +27,7 @@ runs:
2727
- name: Checkout central repo code
2828
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2929
with:
30-
ref: ${{ inputs.common_workflows_ref }}
30+
ref: ${{ inputs.copilot_instructions_ref }}
3131
fetch-depth: 0
3232
path: eps-copilot-instructions
3333
repository: NHSDigital/eps-copilot-instructions

0 commit comments

Comments
 (0)