Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
21 changes: 14 additions & 7 deletions .github/workflows/program-tending.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: program-tending

# program-tending (issue #1352, slice 1/3 scaffold).
# program-tending (issue #1352, slices 1+2 of 3).
#
# Daily scheduled care for the planning layer across the four fleet
# repos (code, opencode, openchamber, nix): epics, roadmaps, projects,
Expand Down Expand Up @@ -31,13 +31,15 @@ concurrency:
cancel-in-progress: true

permissions:
contents: read
contents: write
issues: write
pull-requests: write

jobs:
tend:
name: program-tending scaffold run
name: program-tending run (slices 1+2)
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
Expand All @@ -47,7 +49,12 @@ jobs:
run: |
test -f scripts/tests/test_program_tending.py
python3 -m unittest discover -s scripts/tests -p 'test_program_tending.py' -v
- name: Run program-tending scaffold (slice 1 stubs)
- name: Run program-tending (slice 2 sections live)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python3 -I scripts/program_tending.py --run
# Live writes span all four fleet repos; this repo's
# GITHUB_TOKEN cannot write issues elsewhere (Codex,
# PR #8377). REPO_AUTOMATION_TOKEN is the fleet credential
# other cross-repo workflows here already use; fall back to
# the workflow token when it is not configured.
GH_TOKEN: ${{ secrets.REPO_AUTOMATION_TOKEN || github.token }}
run: python3 -I scripts/program_tending.py --run --live

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Register the newly live Actions schedule

Enabling --live changes this daily 13:00 UTC job from read-only reporting to scheduled writes, but the commit does not update doc/fleet-schedule-registry.md. Its GitHub Actions section lists only bws-freshness; the existing program-tending entry describes a separate Muse schedule at daily@09:12:00. Register this Actions job and its live behavior in the same PR, as required by the root schedule-maintenance rule, so the fleet inventory reflects the automation being enabled.

AGENTS.md reference: AGENTS.md:L53-L58

Useful? React with 👍 / 👎.

Loading
Loading