Skip to content

Commit a7849a1

Browse files
authored
Chore: [AEA-0000] - fix param names (#6)
## Summary - Routine Change ### Details - fix param names
1 parent ec22938 commit a7849a1

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ updates:
2222
commit-message:
2323
prefix: "Upgrade: [dependabot] - "
2424
cooldown:
25-
default-days: 3
25+
default-days: 7
2626
###################################
2727
# Poetry #########################
2828
###################################
@@ -37,7 +37,7 @@ updates:
3737
prefix: "Upgrade: [dependabot] - "
3838
versioning-strategy: increase
3939
cooldown:
40-
default-days: 3
40+
default-days: 7
4141
###################################
4242
# NPM workspace ##################
4343
###################################
@@ -54,4 +54,4 @@ updates:
5454
registries:
5555
- npm-github
5656
cooldown:
57-
default-days: 3
57+
default-days: 7

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: 4 additions & 4 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
@@ -66,7 +66,7 @@ runs:
6666
title: "Upgrade: [dependabot] - sync Copilot instructions"
6767
body: |
6868
Syncing Copilot instructions from central repo.
69-
Ref: `${{ inputs.common_workflows_ref }}`
69+
Ref: `${{ inputs.copilot_instructions_ref }}`
7070
branch: copilot-instructions-sync
7171
base: ${{ inputs.calling_repo_base_branch }}
7272
branch-suffix: random

0 commit comments

Comments
 (0)