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
681 changes: 255 additions & 426 deletions .github/workflows/daily-repo-goals.lock.yml

Large diffs are not rendered by default.

674 changes: 253 additions & 421 deletions .github/workflows/daily-workflow-sync.lock.yml

Large diffs are not rendered by default.

591 changes: 214 additions & 377 deletions .github/workflows/import-workflow.lock.yml

Large diffs are not rendered by default.

618 changes: 224 additions & 394 deletions .github/workflows/link-checker.lock.yml

Large diffs are not rendered by default.

668 changes: 250 additions & 418 deletions .github/workflows/maintainer.lock.yml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions docs/repo-assist.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ You can run Repo Assist in "blast mode" by repeatedly triggering:
gh aw run repo-assist --repeat 30
```

You can also invoke a predefined instruction directly from the command line:

```bash
gh aw run repo-assist --repo <owner>/<repo> -F command="Run Task 9"
```

### Usage as a General-Purpose Assistant

You can also trigger Repo Assist on-demand by commenting on any issue or PR:
Expand Down
10 changes: 8 additions & 2 deletions workflows/repo-assist.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ description: |
on:
schedule: every 12h
workflow_dispatch:
inputs:
command:
description: "Optional command-mode instruction (for example: Run Task 9)"
required: false
type: string
default: ""
slash_command:
name: repo-assist
reaction: "eyes"
Expand Down Expand Up @@ -182,9 +188,9 @@ steps:

## Command Mode

Take heed of **instructions**: "${{ steps.sanitized.outputs.text }}"
Take heed of **instructions**: "${{ steps.sanitized.outputs.text || inputs.command }}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The command must be declared as an optional input to the workflow_dispatch trigger, see gh-aw docs

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@copilot The command must be declared as an optional input to the workflow_dispatch trigger, see gh-aw docs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed in cd28e55 by declaring workflow_dispatch.inputs.command as an optional string input in workflows/repo-assist.md.


If these are non-empty (not ""), then you have been triggered via `/repo-assist <instructions>`. Follow the user's instructions instead of the normal scheduled workflow. Focus exclusively on those instructions. Apply all the same guidelines (read AGENTS.md, run formatters/linters/tests, be polite, use AI disclosure). Skip the weighted task selection and Task 11 reporting, and instead directly do what the user requested. If no specific instructions were provided (empty or blank), proceed with the normal scheduled workflow below.
If these are non-empty (not ""), then you have been triggered via `/repo-assist <instructions>` (or by the user setting `inputs.command` in a manual `workflow_dispatch`). Follow the user's instructions instead of the normal scheduled workflow. Focus exclusively on those instructions. Apply all the same guidelines (read AGENTS.md, run formatters/linters/tests, be polite, use AI disclosure). Skip the weighted task selection and Task 11 reporting, and instead directly do what the user requested. If no specific instructions were provided (empty or blank), proceed with the normal scheduled workflow below.

Then exit - do not run the normal workflow after completing the instructions.

Expand Down
Loading