Skip to content

Commit a3736b6

Browse files
Copilotrajbos
andcommitted
fix: update workflow prompt paths to reference .github/prompts/ directory
Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
1 parent dd35205 commit a3736b6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/check-models.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
push:
66
paths:
77
- .github/workflows/check-models.yml
8-
- .github/workflows/prompts/sync-models-prompt.md
8+
- .github/prompts/sync-models.prompt.md
99
- src/tokenEstimators.json
1010
- src/modelPricing.json
1111

@@ -78,7 +78,7 @@ jobs:
7878
COPILOT_GITHUB_TOKEN: ${{ secrets.GH_PAT }}
7979
run: |
8080
# Read the prompt from the file
81-
PROMPT=$(cat .github/workflows/prompts/sync-models-prompt.md)
81+
PROMPT=$(cat .github/prompts/sync-models.prompt.md)
8282
8383
# Get the paths to relevant files
8484
ESTIMATORS_PATH="${GITHUB_WORKSPACE}/src/tokenEstimators.json"

.github/workflows/sync-toolnames.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
push:
88
paths:
99
- .github/workflows/sync-toolnames.yml
10-
- .github/workflows/prompts/sync-toolnames-prompt.md
10+
- .github/prompts/sync-toolnames.prompt.md
1111

1212
permissions:
1313
contents: read
@@ -85,7 +85,7 @@ jobs:
8585
COPILOT_GITHUB_TOKEN: ${{ secrets.GH_PAT }}
8686
run: |
8787
# Read the prompt from the file
88-
PROMPT=$(cat .github/workflows/prompts/sync-toolnames-prompt.md)
88+
PROMPT=$(cat .github/prompts/sync-toolnames.prompt.md)
8989
9090
# Get the path to the vscode-copilot-chat repo
9191
UPSTREAM_PATH="${GITHUB_WORKSPACE}/vscode-copilot-chat"

0 commit comments

Comments
 (0)