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
39 changes: 33 additions & 6 deletions .github/workflows/jules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: pm-dispatch
# laptop (via pm-dispatch) from any GitHub event. This workflow was
# previously backed by the Jules service; it now uses the reusable
# pm-dispatch starter action
# (developing-today/code/.github/actions/pm-dispatch-start@main), which
# creates the tracking issue, enqueues the task, and launches the
# session. Each job is independently disable-able by deleting it.
# (./.github/actions/pm-dispatch-start, loaded from a checkout of
# this repo), which creates the tracking issue, enqueues the task,
# and launches the session. Each job is independently disable-able by deleting it.
#
# No repository secret is required: each job grants
# `permissions: id-token: write`, and the starter action mints a GitHub
Expand Down Expand Up @@ -56,9 +56,18 @@ jobs:
issues: read
id-token: write
steps:
# Loaded from this checkout, not the remote @main form: the remote
# form makes the runner download the whole repo as an action archive,
# which fails with Could not find file .../_staging/code-<sha>/archive
# (issue #5332, #4742 defect class).
- name: Check out the pm-dispatch actions
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Dispatch weekly cleanup via pm-dispatch
id: dispatch
uses: developing-today/code/.github/actions/pm-dispatch-start@main
uses: ./.github/actions/pm-dispatch-start
with:
title: "Weekly housekeeping cleanup"
prompt: >-
Expand Down Expand Up @@ -89,9 +98,18 @@ jobs:
issues: read
id-token: write
steps:
# Loaded from this checkout, not the remote @main form: the remote
# form makes the runner download the whole repo as an action archive,
# which fails with Could not find file .../_staging/code-<sha>/archive
# (issue #5332, #4742 defect class).
- name: Check out the pm-dispatch actions
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Dispatch issue fix via pm-dispatch
id: dispatch
uses: developing-today/code/.github/actions/pm-dispatch-start@main
uses: ./.github/actions/pm-dispatch-start
with:
title: ${{ github.event.issue.title }}
prompt: >-
Expand Down Expand Up @@ -123,9 +141,18 @@ jobs:
issues: read
id-token: write
steps:
# Loaded from this checkout, not the remote @main form: the remote
# form makes the runner download the whole repo as an action archive,
# which fails with Could not find file .../_staging/code-<sha>/archive
# (issue #5332, #4742 defect class).
- name: Check out the pm-dispatch actions
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Dispatch manual prompt via pm-dispatch
id: dispatch
uses: developing-today/code/.github/actions/pm-dispatch-start@main
uses: ./.github/actions/pm-dispatch-start
with:
title: "Manual pm-dispatch run"
prompt: ${{ inputs.prompt }}
6 changes: 3 additions & 3 deletions .github/workflows/pm-scheduled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,23 +175,23 @@ jobs:
- name: Dispatch bolt
id: bolt
if: steps.resolve.outputs.has_bolt == 'true'
uses: developing-today/code/.github/actions/pm-dispatch-task@main
uses: ./.pm-central/.github/actions/pm-dispatch-task
with:
task: bolt
repo: ${{ steps.resolve.outputs.repo }}

- name: Dispatch palette
id: palette
if: steps.resolve.outputs.has_palette == 'true'
uses: developing-today/code/.github/actions/pm-dispatch-task@main
uses: ./.pm-central/.github/actions/pm-dispatch-task
with:
task: palette
repo: ${{ steps.resolve.outputs.repo }}

- name: Dispatch suggestions
id: suggestions
if: steps.resolve.outputs.has_suggestions == 'true'
uses: developing-today/code/.github/actions/pm-dispatch-task@main
uses: ./.pm-central/.github/actions/pm-dispatch-task
with:
task: suggestions
repo: ${{ steps.resolve.outputs.repo }}
Expand Down
Loading