Skip to content

Commit 03d6e36

Browse files
committed
fix sync
1 parent 9e91e2b commit 03d6e36

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/sync_copilot.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Sync copilot instructions
22

33
on:
4-
workflow_call:
5-
inputs:
6-
ref:
7-
description: 'The branch to sync from the central repository'
8-
required: false
9-
default: 'main'
10-
type: string
4+
workflow_call:
5+
inputs:
6+
ref:
7+
description: "The branch to sync from the central repository"
8+
required: false
9+
default: "main"
10+
type: string
1111

1212
jobs:
1313
sync:
@@ -28,7 +28,7 @@ jobs:
2828
rm -rf .github/copilot
2929
git clone \
3030
--depth 1 \
31-
--branch $[BRANCH_NAME}" \
31+
--branch "${BRANCH_NAME}" \
3232
https://github.com/NHSDigital/eps-common-workflows.git tmp
3333
mv tmp/.github/chatmodes .github/chatmodes
3434
mv tmp/.github/instructions .github/instructions
@@ -49,4 +49,3 @@ jobs:
4949
branch-suffix: random
5050
sign-commits: true
5151
delete-branch: true
52-

0 commit comments

Comments
 (0)