Skip to content

Commit e4349d9

Browse files
authored
chore: minimal campaign instuctions (#12629)
1 parent ae68934 commit e4349d9

File tree

2 files changed

+11
-115
lines changed

2 files changed

+11
-115
lines changed

.github/workflows/dependabot-burner.lock.yml

Lines changed: 7 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 4 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Dependabot Burner
3-
description: Burns down Dependabot security alert work items
3+
description: Burns down open Dependabot PRs.
44

55
on:
66
schedule: daily
@@ -20,59 +20,7 @@ imports:
2020

2121
- Project URL: https://github.com/orgs/githubnext/projects/144
2222
- Campaign ID: dependabot-burner
23-
- Target repo: githubnext/gh-aw
2423

25-
## Task
26-
27-
### Discover work items
28-
29-
Find open Dependabot PRs in `githubnext/gh-aw`:
30-
```
31-
repo:githubnext/gh-aw is:pr author:app/dependabot label:dependencies label:javascript is:open
32-
```
33-
34-
Follow `aw/campaign.md` (Budgets & Pacing) for limits and ordering.
35-
If no PRs are found, follow `aw/campaign.md` (No-Work Default).
36-
37-
### Update project items
38-
39-
For each discovered PR, call `update_project` with:
40-
- `project`: https://github.com/orgs/githubnext/projects/144
41-
- `content_type`: "pull_request"
42-
- `content_number`: the PR number
43-
- `fields`: follow the defaults in `aw/campaign.md`
44-
- Override for this workflow: `worker_workflow`: "dependabot"
45-
46-
### Bundle dependabot PRs into issues
47-
48-
Create up to 3 bundle issues, each representing exactly **one runtime + one manifest file** (never mix runtimes; never mix manifests).
49-
50-
For each bundle:
51-
52-
1. Call `create_issue(...)` with a title like:
53-
- `[dependabot-burner] Dependabot bundle — <runtime> — <manifest> (YYYY-MM-DD)`
54-
Issue body should include:
55-
- Runtime + manifest
56-
- Checklist of PRs in the bundle
57-
- A short research section (breaking changes / migration notes / risk)
58-
59-
2. Capture the returned temporary ID, then immediately call `update_project(...)` to add that issue to the project:
60-
- `project`: https://github.com/orgs/githubnext/projects/144
61-
- `content_type`: "issue"
62-
- `content_number`: "<temporary_id>"
63-
- `fields`: follow the defaults in `aw/campaign.md` (Project Field Defaults)
64-
- Set `status`: "In Progress" (since the issue represents active work)
65-
- Set `campaign_id`: "dependabot-burner"
66-
- Set `target_repo`: "githubnext/gh-aw"
67-
- Set `worker_workflow`: "dependabot"
68-
69-
### Final step
70-
71-
After all work is complete, call `create_project_status_update` exactly once as required by `aw/campaign.md` (Project Status Updates):
72-
- `project`: https://github.com/orgs/githubnext/projects/144
73-
- `status`: "ON_TRACK" (or "INACTIVE" if no work was found)
74-
- `start_date`: today's date (YYYY-MM-DD format)
75-
- `body`: Include:
76-
- Discovery query used
77-
- Counts: number of PRs found, issues created, project items updated
78-
- Next steps or summary of work completed
24+
- Find all open Dependabot PRs and add them to the project.
25+
- Create bundle issues, each for exactly **one runtime + one manifest file**.
26+
- Add bundle issues to the project, and assign them to Copilot.

0 commit comments

Comments
 (0)