Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
9391ba0
fix: correct YAML syntax in agents-issue-intake.yml template (#602)
stranske Jan 6, 2026
69cb9fe
fix: correct YAML syntax in agents-issue-intake.yml template (#602)
stranske Jan 6, 2026
0aad109
fix: use CODESPACES_WORKFLOWS token for merge permissions
stranske Jan 6, 2026
2f3b243
fix: use REGISTERED_CONSUMER_REPOS and add stale PR cleanup
stranske Jan 6, 2026
80329a4
fix: dynamically read REGISTERED_CONSUMER_REPOS from source file
stranske Jan 6, 2026
d413567
fix: address bot review comments in validation script
stranske Jan 6, 2026
d7ef9de
docs: add workflow artifact checklist to prevent .gitignore conflicts
stranske Jan 6, 2026
fcaa421
Merge main into fix/workflow-startup-failure-real-fix
stranske Jan 6, 2026
2a4a4c0
docs: add critical section on handling agent bot review comments
stranske Jan 6, 2026
ba57057
fix: register maint-71-merge-sync-prs.yml in tests and docs
stranske Jan 6, 2026
4f61f04
fix: quote shell variables in maint-71-merge-sync-prs.yml
stranske Jan 6, 2026
0b3697e
fix: Remove GITHUB_TOKEN fallback in merge workflow
stranske Jan 6, 2026
41c1d17
Merge main and resolve conflict
stranske Jan 6, 2026
f986d3a
docs: Add critical section on syncing with main before PRs
stranske Jan 6, 2026
b0dda6a
fix: change issue bridge mode from invite to create in template
stranske Jan 6, 2026
7c0e293
fix: add force_mode parameter to override issue event mode logic
stranske Jan 6, 2026
9735e83
fix: restore required permissions for chatgpt_sync mode
stranske Jan 6, 2026
1d7b95c
fix: use secrets inherit for chatgpt_sync to pass GITHUB_TOKEN
stranske Jan 6, 2026
ef23020
Merge main and resolve conflicts - keep main's version without force_…
stranske Jan 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/reusable-agents-issue-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ on:
required: false
type: string
default: "invite"
force_mode:
description: "Force mode override (ignore issue event defaults)"
required: false
type: boolean
default: false
post_agent_comment:
description: "Auto-post '@<agent> start' command (true/false)"
required: false
Expand Down Expand Up @@ -251,10 +256,14 @@ jobs:
return;
}
const ev = context.eventName;
const forceMode = '${{ inputs.force_mode }}' === 'true';
let mode = '${{ inputs.mode }}' || 'invite';
let reason = 'input-default';

if (ev === 'issues') {
// If force_mode is enabled, respect the input mode regardless of event type
if (forceMode) {
reason = 'force-mode-override';
} else if (ev === 'issues') {
const labels = (context.payload.issue && Array.isArray(context.payload.issue.labels)) ? context.payload.issue.labels : [];
const hasInvite = labels.some((lbl) => String(lbl.name || '').toLowerCase() === `agent:${agent}-invite`);
const hasBase = labels.some((lbl) => String(lbl.name || '').toLowerCase() === `agent:${agent}`);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,14 @@ jobs:
sync:
needs: route
if: needs.route.outputs.should_run_sync == 'true'
permissions:
contents: read
issues: write
id-token: write
models: read
uses: stranske/Workflows/.github/workflows/agents-63-issue-intake.yml@main
with:
intake_mode: "chatgpt_sync"
source: ${{ inputs.topic_files }}
apply_langchain_formatting: ${{ inputs.apply_langchain_formatting && 'true' || 'false' }}
secrets:
service_bot_pat: ${{ secrets.SERVICE_BOT_PAT }}
owner_pr_pat: ${{ secrets.OWNER_PR_PAT }}
secrets: inherit
Loading