We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e91e2b commit 03d6e36Copy full SHA for 03d6e36
1 file changed
.github/workflows/sync_copilot.yml
@@ -1,13 +1,13 @@
1
name: Sync copilot instructions
2
3
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
+ workflow_call:
+ inputs:
+ ref:
+ description: "The branch to sync from the central repository"
+ required: false
+ default: "main"
+ type: string
11
12
jobs:
13
sync:
@@ -28,7 +28,7 @@ jobs:
28
rm -rf .github/copilot
29
git clone \
30
--depth 1 \
31
- --branch $[BRANCH_NAME}" \
+ --branch "${BRANCH_NAME}" \
32
https://github.com/NHSDigital/eps-common-workflows.git tmp
33
mv tmp/.github/chatmodes .github/chatmodes
34
mv tmp/.github/instructions .github/instructions
@@ -49,4 +49,3 @@ jobs:
49
branch-suffix: random
50
sign-commits: true
51
delete-branch: true
52
-
0 commit comments