fix: use expression syntax for force_mode boolean#647
Conversation
GitHub Actions workflow_call requires boolean inputs to use expression
syntax ${{ true }} rather than bare true when calling reusable workflows.
This fixes the startup_failure occurring in all consumer repos after the
previous template sync.
Automated Status SummaryHead SHA: fa55d03
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
There was a problem hiding this comment.
Pull request overview
This PR fixes a critical startup_failure issue in consumer repos by correcting the syntax for passing a boolean value to a reusable workflow. After PR #646 introduced force_mode: true, all consumer repos experienced failures because GitHub Actions requires boolean inputs to reusable workflows to use expression syntax ${{ true }} rather than bare true (which is treated as a string).
Key Changes
- Updated
force_modeparameter from baretrueto expression syntax${{ true }} - Reordered
force_modeto appear afterpost_agent_comment(cosmetic change with no functional impact)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Automated Status Summary
Scope
Problem
Consumer repos are experiencing startup_failure when issues are labeled with
agent:codexbecause the template is usingmode: 'invite'withoutforce_mode, causing the reusable workflow to prevent automatic bootstrap PR creation.Root Cause
The reusable-agents-issue-bridge.yml workflow has logic (line 257-268) that overrides the mode to 'invite' for issue events, unless
force_mode: trueis explicitly set. This was intended to wait for human intervention, but it breaks the desired automatic PR creation workflow.Changes
Template file:
templates/consumer-repo/.github/workflows/agents-issue-intake.ymlContext for Agent
Design Decisions & Constraints
Related Issues/PRs
Blockers & Dependencies
Tasks
modefrom 'invite' to 'create' in bridge jobforce_mode: trueto override issue event defaultsAcceptance criteria
Head SHA: fe77f1a
Latest Runs: ❔ in progress — Gate
Required: gate: ❔ in progress