Skip to content

Comments

Fix dependabot-burner: add missing update_project and status update instructions#12584

Merged
mnkiefer merged 4 commits intomainfrom
copilot/update-project-with-campaign-link
Jan 29, 2026
Merged

Fix dependabot-burner: add missing update_project and status update instructions#12584
mnkiefer merged 4 commits intomainfrom
copilot/update-project-with-campaign-link

Conversation

Copy link
Contributor

Copilot AI commented Jan 29, 2026

Campaign workflow created issues but failed to add them to the project board or post status updates. Instructions used placeholder values and lacked explicit guidance.

Changes

Replace placeholder URLs with concrete values

  • All update_project calls now use https://github.com/orgs/githubnext/projects/144
  • Applies to PR updates (line 45), issue updates (line 65), and status updates (line 77)

Add explicit field values for issue project updates

2. Capture the returned temporary ID, then immediately call `update_project(...)`:
   - `project`: https://github.com/orgs/githubnext/projects/144
   - `content_type`: "issue"
   - `content_number`: "<temporary_id>"
   - `fields`:
     - Set `status`: "In Progress"
     - Set `campaign_id`: "dependabot-burner"
     - Set `target_repo`: "githubnext/gh-aw"
     - Set `worker_workflow`: "dependabot"

Add "Final step" section for project status updates

### Final step

After all work is complete, call `create_project_status_update` exactly once:
- `project`: https://github.com/orgs/githubnext/projects/144
- `status`: "ON_TRACK" (or "INACTIVE" if no work was found)
- `start_date`: today's date (YYYY-MM-DD format)
- `body`: Include discovery query, counts, next steps

Next workflow run will properly track created issues on the project board and post completion status.

Original prompt

Check campaign run: https://github.com/githubnext/gh-aw/actions/runs/21485194224
After create issue, agent should add this link to the project (In Progress via update-project) as this is part of the instructions and finally do project status update entry (part of campaign.md instructions as a step that should always be done at end).


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 29, 2026 16:16
…endabot-burner

- Add explicit instructions to call update_project after creating issue with status "In Progress"
- Add explicit instructions to call create_project_status_update at the end
- Include concrete project URL and field values to avoid ambiguity
- Recompile workflow to update lock file

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Address code review feedback to ensure consistency across all update_project calls

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot AI changed the title [WIP] Update project with campaign run link and status Fix dependabot-burner: add missing update_project and status update instructions Jan 29, 2026
Copilot AI requested a review from mnkiefer January 29, 2026 16:26
@mnkiefer mnkiefer marked this pull request as ready for review January 29, 2026 16:33
@mnkiefer mnkiefer merged commit 76fe17b into main Jan 29, 2026
51 checks passed
@mnkiefer mnkiefer deleted the copilot/update-project-with-campaign-link branch January 29, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants