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
2026-01-18 15:33:00 -05:00
parent c9f7cc1b7f
commit 65c325d33e
+1 -1
View File
@@ -72,7 +72,7 @@ jobs:
with:
anthropic_api_key: ccs-internal-managed
github_token: ${{ steps.app-token.outputs.token }}
track_progress: true
track_progress: ${{ github.event_name != 'workflow_dispatch' }}
prompt: |
REPO: ${{ github.repository }}
PR NUMBER: ${{ github.event.pull_request.number || github.event.issue.number || github.event.inputs.pr_number }}