fix(ci): disable track_progress for workflow_dispatch events

track_progress is only supported for PR/issue events, not workflow_dispatch.
Made the setting conditional on event type.
This commit is contained in:
kaitranntt committed 2026-01-18 15:33:00 -05:00
1 parent c9f7cc1b7f
commit 65c325d33e
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ jobs:
with: with:
anthropic_api_key: ccs-internal-managed anthropic_api_key: ccs-internal-managed
github_token: ${{ steps.app-token.outputs.token }} github_token: ${{ steps.app-token.outputs.token }}
track_progress: true track_progress: ${{ github.event_name != 'workflow_dispatch' }}
prompt: | prompt: |
REPO: ${{ github.repository }} REPO: ${{ github.repository }}
PR NUMBER: ${{ github.event.pull_request.number || github.event.issue.number || github.event.inputs.pr_number }} PR NUMBER: ${{ github.event.pull_request.number || github.event.issue.number || github.event.inputs.pr_number }}