Skip to content

Commit 23a2276

Browse files
Copilotmnkiefer
andauthored
Add sub-agent optimizer workflow
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
1 parent 2402be5 commit 23a2276

8 files changed

Lines changed: 3770 additions & 11 deletions

.github/workflows/agentics-maintenance.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
await main();
175175
176176
- name: Install gh-aw
177-
uses: github/gh-aw-actions/setup-cli@bc56a0cad2f450c562810785ef38649c04db812a # v0.72.1
177+
uses: github/gh-aw-actions/setup-cli@v0.72.1
178178
with:
179179
version: v0.72.1
180180

@@ -309,7 +309,7 @@ jobs:
309309
await main();
310310
311311
- name: Install gh-aw
312-
uses: github/gh-aw-actions/setup-cli@bc56a0cad2f450c562810785ef38649c04db812a # v0.72.1
312+
uses: github/gh-aw-actions/setup-cli@v0.72.1
313313
with:
314314
version: v0.72.1
315315

@@ -355,7 +355,7 @@ jobs:
355355
await main();
356356
357357
- name: Install gh-aw
358-
uses: github/gh-aw-actions/setup-cli@bc56a0cad2f450c562810785ef38649c04db812a # v0.72.1
358+
uses: github/gh-aw-actions/setup-cli@v0.72.1
359359
with:
360360
version: v0.72.1
361361

@@ -489,7 +489,7 @@ jobs:
489489
await main();
490490
491491
- name: Install gh-aw
492-
uses: github/gh-aw-actions/setup-cli@bc56a0cad2f450c562810785ef38649c04db812a # v0.72.1
492+
uses: github/gh-aw-actions/setup-cli@v0.72.1
493493
with:
494494
version: v0.72.1
495495

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
TARGET_REPO=$(mktemp -d)
4545
git init "$TARGET_REPO"
4646
cd "$TARGET_REPO"
47-
gh aw add "${{ github.workspace }}/workflows/agentic-token-audit.md" "${{ github.workspace }}/workflows/agentic-token-optimizer.md"
47+
gh aw add "${{ github.workspace }}/workflows/agentic-token-audit.md" "${{ github.workspace }}/workflows/agentic-token-optimizer.md" "${{ github.workspace }}/workflows/daily-subagent-optimizer.md"
4848
gh aw compile --validate --no-emit
4949
env:
5050
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -68,7 +68,7 @@ jobs:
6868
TARGET_REPO=$(mktemp -d)
6969
git init "$TARGET_REPO"
7070
cd "$TARGET_REPO"
71-
gh aw add "${{ github.repository }}/agentic-token-audit" "${{ github.repository }}/agentic-token-optimizer"
71+
gh aw add "${{ github.repository }}/agentic-token-audit" "${{ github.repository }}/agentic-token-optimizer" "${{ github.repository }}/daily-subagent-optimizer"
7272
gh aw compile --validate --no-emit
7373
env:
7474
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -101,7 +101,9 @@ jobs:
101101
.github/workflows/agentic-token-audit.md \
102102
.github/workflows/agentic-token-audit.lock.yml \
103103
.github/workflows/agentic-token-optimizer.md \
104-
.github/workflows/agentic-token-optimizer.lock.yml; do
104+
.github/workflows/agentic-token-optimizer.lock.yml \
105+
.github/workflows/daily-subagent-optimizer.md \
106+
.github/workflows/daily-subagent-optimizer.lock.yml; do
105107
if [[ ! -f "$path" ]]; then
106108
echo "Missing installed workflow file: $path"
107109
installed=false
@@ -123,6 +125,6 @@ jobs:
123125
if: steps.detect-workflows.outputs.installed == 'true'
124126
run: |
125127
set -euo pipefail
126-
gh aw run agentic-token-audit agentic-token-optimizer --ref main
128+
gh aw run agentic-token-audit agentic-token-optimizer daily-subagent-optimizer --ref main
127129
env:
128130
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/daily-subagent-optimizer.lock.yml

Lines changed: 1463 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)