Skip to content

Commit 5e270ac

Browse files
committed
Read code review sweep model from progress branch
1 parent 39b8467 commit 5e270ac

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/code-review-sweep.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
outputs:
2626
modules: ${{ steps.build-matrix.outputs.modules }}
2727
has_work: ${{ steps.build-matrix.outputs.has_work }}
28+
model: ${{ steps.model.outputs.model }}
2829
steps:
2930
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3031
with:
@@ -33,6 +34,12 @@ jobs:
3334
- name: Fetch progress branch
3435
run: git fetch origin otelbot/code-review-progress || true
3536

37+
- name: Resolve Copilot model
38+
id: model
39+
run: |
40+
model=$(git show origin/otelbot/code-review-progress:model.txt | xargs)
41+
echo "model=$model" >> "$GITHUB_OUTPUT"
42+
3643
- name: Build review matrix
3744
id: build-matrix
3845
env:
@@ -58,7 +65,7 @@ jobs:
5865
contents: write # for git push
5966
env:
6067
MODULES_JSON: ${{ needs.dispatch.outputs.modules }}
61-
MODEL: "gpt-5.4"
68+
MODEL: ${{ needs.dispatch.outputs.model }}
6269
# Stop processing further modules once at least this many files have been
6370
# modified (vs origin/main) at the end of a module.
6471
FILE_THRESHOLD: 10

0 commit comments

Comments
 (0)