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
18 changes: 9 additions & 9 deletions .github/workflows/gh-aw-scheduled-audit.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .github/workflows/gh-aw-scheduled-audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
description: "What the audit agent should investigate — appended as the Report Assignment"
type: string
required: true
issue-title-prefix:
title-prefix:
description: "Title prefix for created issues, e.g. '[my-audit]'"
type: string
required: true
Expand Down Expand Up @@ -58,7 +58,7 @@ on:
bots:
- "${{ inputs.allowed-bot-users }}"
concurrency:
group: scheduled-audit-${{ inputs.issue-title-prefix }}
group: scheduled-audit-${{ inputs.title-prefix }}
cancel-in-progress: true
permissions:
actions: read
Expand All @@ -76,15 +76,15 @@ safe-outputs:
noop:
create-issue:
max: 1
title-prefix: "${{ inputs.issue-title-prefix }} "
title-prefix: "${{ inputs.title-prefix }} "
close-older-issues: false
expires: 7d
timeout-minutes: 90
steps:
- name: List previous findings
env:
GH_TOKEN: ${{ github.token }}
TITLE_PREFIX: ${{ inputs.issue-title-prefix }}
TITLE_PREFIX: ${{ inputs.title-prefix }}
run: |
set -euo pipefail
gh issue list \
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/gh-aw-scheduled-fix.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions .github/workflows/gh-aw-scheduled-fix.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
description: "Domain-specific fix instructions — appended as the Fix Assignment"
type: string
required: true
issue-title-prefix:
title-prefix:
description: "Title prefix to search for in open issues, e.g. '[text-auditor]'"
type: string
required: true
Expand Down Expand Up @@ -63,7 +63,7 @@ on:
bots:
- "${{ inputs.allowed-bot-users }}"
concurrency:
group: scheduled-fix-${{ inputs.issue-title-prefix }}
group: scheduled-fix-${{ inputs.title-prefix }}
cancel-in-progress: true
permissions:
actions: read
Expand All @@ -84,7 +84,7 @@ steps:
- name: List previous findings
env:
GH_TOKEN: ${{ github.token }}
TITLE_PREFIX: ${{ inputs.issue-title-prefix }}
TITLE_PREFIX: ${{ inputs.title-prefix }}
run: |
set -euo pipefail
gh issue list \
Expand Down Expand Up @@ -114,7 +114,7 @@ Before filing a new issue, check `/tmp/previous-findings.json` for issues this a
Search for open issues matching the configured title prefix:

````text
github-search_issues: query="repo:{owner}/{repo} is:issue is:open in:title \"${{ inputs.issue-title-prefix }}\" sort:updated-asc"
github-search_issues: query="repo:{owner}/{repo} is:issue is:open in:title \"${{ inputs.title-prefix }}\" sort:updated-asc"
````

If `${{ inputs.issue-label }}` is not empty, also search by label:
Expand Down
2 changes: 1 addition & 1 deletion gh-agent-workflows/scheduled-audit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ See [example.yml](example.yml) for the full workflow file. You **must** customiz
| Input | Description | Required | Default |
| --- | --- | --- | --- |
| `additional-instructions` | What the audit agent should investigate (the Report Assignment) | **Yes** | — |
| `issue-title-prefix` | Title prefix for created issues, e.g. `[my-audit]` | **Yes** | — |
| `title-prefix` | Title prefix for created issues, e.g. `[my-audit]` | **Yes** | — |
| `issue-label` | Label to apply to created issues | No | `""` |
| `setup-commands` | Shell commands run before the agent starts | No | `""` |
| `allowed-bot-users` | Allowlisted bot actor usernames (comma-separated) | No | `github-actions[bot]` |
Expand Down
2 changes: 1 addition & 1 deletion gh-agent-workflows/scheduled-audit/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run:
uses: elastic/ai-github-actions/.github/workflows/gh-aw-scheduled-audit.lock.yml@v0
with:
issue-title-prefix: "[my-audit]"
title-prefix: "[my-audit]"
issue-label: "my-audit"
additional-instructions: |
Describe what the audit agent should investigate here.
Expand Down
2 changes: 1 addition & 1 deletion gh-agent-workflows/scheduled-fix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ See [example.yml](example.yml) for the full workflow file. You **must** customiz
| Input | Description | Required | Default |
| --- | --- | --- | --- |
| `additional-instructions` | Domain-specific fix instructions (the Fix Assignment) | **Yes** | — |
| `issue-title-prefix` | Title prefix to search for in open issues, e.g. `[my-audit]` | **Yes** | — |
| `title-prefix` | Title prefix to search for in open issues, e.g. `[my-audit]` | **Yes** | — |
| `issue-label` | Label to search for in open issues | No | `""` |
| `setup-commands` | Shell commands run before the agent starts | No | `""` |
| `allowed-bot-users` | Allowlisted bot actor usernames (comma-separated) | No | `github-actions[bot]` |
Expand Down
2 changes: 1 addition & 1 deletion gh-agent-workflows/scheduled-fix/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run:
uses: elastic/ai-github-actions/.github/workflows/gh-aw-scheduled-fix.lock.yml@v0
with:
issue-title-prefix: "[my-audit]"
title-prefix: "[my-audit]"
issue-label: "my-audit"
additional-instructions: |
Describe domain-specific fix instructions here.
Expand Down
Loading