campaigns: add `templates/workflows/offing-campaign.yml`

Open
#1,015 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
github, github-actions, typescript
Domain
cli, devops

Research direction

Read Offing’s contribution guide and inspect templates/workflows/offing-campaign.yml; use the linked tracker #375 to identify the full file scope and public release check. First review prerequisite issues #1006, #1007, #1003, and #1013, then exercise a scheduled run in a clean consumer workflow. Done when one run advances a single batch, resumes existing state, uses least-privilege permissions, and records the focused check result for acc-campaigns.

Written by the indexing model from the issue text.

Description

area: core lane: strong-agent priority: P0 roadmap type: task

Work

Add templates/workflows/offing-campaign.yml that runs one batch per scheduled run from an operations repository, with least-privilege permissions.

Starting point

Review Offing’s contribution guide. Start from templates/workflows/offing-campaign.yml. The tracker in #375 links the full file scope and the public release check.

Prerequisites and dependencies

  • #1006 — add pause, resume, retry <repo | --failed> and cancel, where cancel closes the campaign's open pull requests.
  • #1007 — stop the campaign automatically when the failure rate of the last batch passes the configured limit, and print why.
  • #1003 — order batches so owners with the nearest deadlines go first (after fleet-forecast).
  • #1013 — keep one tracking issue in the operations repository with the campaign's progress, reusing src/action-tracking-issue.ts.

Acceptance criteria

  • Exercise one scheduled run in a clean consumer workflow. It advances one batch only, resumes existing state, and uses permissions limited to its operations.
  • Run the focused checks for the affected path and capture the observable result for acc-campaigns.

Roadmap task · Epic #375

Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
1h 26m
Merged PRs (30d)
73

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from velella-sh/offing

All issues in velella-sh/offing

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.