-
Notifications
You must be signed in to change notification settings - Fork 1
Chore: [AEA-0000] - fix param names #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| name: Sync Copilot Instructions | ||
| description: "Syncs Copilot instructions from the repository to the GitHub Action's metadata file." | ||
| inputs: | ||
| common_workflows_ref: | ||
| description: "The ref to sync from the central repository" | ||
| copilot_instructions_ref: | ||
| description: "The ref to sync from the eps-copilot-instructions repository" | ||
| required: false | ||
| default: "main" | ||
|
Comment on lines
+4
to
7
|
||
| calling_repo_base_branch: | ||
|
|
@@ -27,7 +27,7 @@ runs: | |
| - name: Checkout central repo code | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | ||
| with: | ||
| ref: ${{ inputs.common_workflows_ref }} | ||
| ref: ${{ inputs.copilot_instructions_ref }} | ||
| fetch-depth: 0 | ||
|
Comment on lines
29
to
31
|
||
| path: eps-copilot-instructions | ||
| repository: NHSDigital/eps-copilot-instructions | ||
|
|
@@ -66,7 +66,7 @@ runs: | |
| title: "Upgrade: [dependabot] - sync Copilot instructions" | ||
| body: | | ||
| Syncing Copilot instructions from central repo. | ||
| Ref: `${{ inputs.common_workflows_ref }}` | ||
| Ref: `${{ inputs.copilot_instructions_ref }}` | ||
| branch: copilot-instructions-sync | ||
| base: ${{ inputs.calling_repo_base_branch }} | ||
| branch-suffix: random | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Step 2 description is inaccurate:
copilot_instructions_refis an input (a git ref), not a repository. Reword this to say the action checks outNHSDigital/eps-copilot-instructionsatcopilot_instructions_ref(or similar) so readers understand what is being checked out.