Skip to content

Commit 2866e73

Browse files
authored
ci: use CURSOR_PREFERRED_MODEL secret instead of hardcoded model (#138)
## Summary Replaces the hardcoded `--model opus-4.5` in the cursor-agent CLI invocation in `.github/workflows/fix-ci.yaml` with `--model ${{ secrets.CURSOR_PREFERRED_MODEL }}`, allowing the model to be configured via GitHub Actions secrets instead of requiring a code change. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk workflow-only change that just swaps a hardcoded model name for a configurable secret; main risk is misconfiguration if the secret is unset or invalid. > > **Overview** > Updates the `Fix CI Failures` GitHub Actions workflow to stop hardcoding the `cursor-agent` `--model` value and instead read it from `${{ secrets.CURSOR_PREFERRED_MODEL }}` for configurable model selection without code changes. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit c61cac1. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent a439418 commit 2866e73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fix-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,4 @@ jobs:
102102
- Avoid duplicate comments - update existing bot comments
103103
- If no actionable fix is possible, make no changes and post no comment
104104
- PR comments must ONLY include the PR creation link, no manual merge instructions
105-
" --model opus-4.5 --force --output-format=text
105+
" --model ${{ secrets.CURSOR_PREFERRED_MODEL }} --force --output-format=text

0 commit comments

Comments
 (0)