Skip to content

Commit a2f2c6e

Browse files
committed
update workflows
1 parent e8a4d8a commit a2f2c6e

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/aw/actions-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
"version": "v7.0.0",
3636
"sha": "bbbca2ddaa5d8feaa63e36b76fdaad77386f024f"
3737
},
38-
"github/gh-aw-actions/setup@v0.71.0": {
38+
"github/gh-aw-actions/setup@v0.71.3": {
3939
"repo": "github/gh-aw-actions/setup",
40-
"version": "v0.71.0",
41-
"sha": "49157453228f9641824955e35cbeccbca74ee0fd"
40+
"version": "v0.71.3",
41+
"sha": "07c7335cd76c4d4d9f00dd7874f85ff55ed71f24"
4242
},
4343
"github/gh-aw/actions/setup@v0.66.1": {
4444
"repo": "github/gh-aw/actions/setup",

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ These workflows analyze the repository, code, and activity to produce reports, i
6363
- [🔍 Daily Accessibility Review](docs/daily-accessibility-review.md) - Review application accessibility by automatically running and using the application
6464
- [📱 Multi-Device Docs Tester](docs/daily-multi-device-docs-tester.md) - Test documentation sites across mobile, tablet, and desktop viewports for responsive layout and interaction issues
6565
- [🔎 Daily Adhoc QA](docs/daily-qa.md) - Perform adhoc explorative quality assurance tasks
66+
- [🗂️ Large File Simplifier](docs/large-file-simplifier.md) - Identify the largest source file and create a detailed refactoring plan as an issue
6667

6768
### Code Improvement Workflows (by making changes, producing pull requests)
6869

workflows/cost-tracker.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
workflows: ["agent-implement", "agent-pr-fix"] # Edit to match your agent workflow names
1212
types:
1313
- completed
14+
branches:
15+
- main
1416

1517
permissions: read-all
1618

@@ -41,7 +43,6 @@ gh-aw's firewall after an agent workflow completes and report back what that run
4143
## Current Context
4244

4345
- **Repository**: ${{ github.repository }}
44-
- **Triggered by**: ${{ github.event.workflow_run.name }}
4546
- **Run**: [#${{ github.event.workflow_run.run_number }}](${{ github.event.workflow_run.html_url }})
4647
- **Run ID**: ${{ github.event.workflow_run.id }}
4748
- **Conclusion**: ${{ github.event.workflow_run.conclusion }}
@@ -131,7 +132,6 @@ Build a report using this template. Fill in `$TOTAL_COST` and the breakdown tabl
131132

132133
| | |
133134
|---|---|
134-
| **Workflow** | ${{ github.event.workflow_run.name }} |
135135
| **Run** | [#${{ github.event.workflow_run.run_number }}](${{ github.event.workflow_run.html_url }}) |
136136
| **Conclusion** | ${{ github.event.workflow_run.conclusion }} |
137137
| **Total cost** | $TOTAL_COST |
@@ -153,13 +153,13 @@ GitHub tool.
153153

154154
**If no PR was found**: create an issue using the `create_issue` GitHub tool. Use this
155155
title format:
156-
`[cost-tracker] ${{ github.event.workflow_run.name }} #${{ github.event.workflow_run.run_number }}: $TOTAL_COST`
156+
`[cost-tracker] #${{ github.event.workflow_run.run_number }}: $TOTAL_COST`
157157

158158
### Step 6: High-spend alert (optional)
159159

160160
If the total cost exceeds **$1.00**, create a second issue using the `create_issue`
161161
GitHub tool with title:
162-
`[cost-tracker] High spend alert: $TOTAL_COST for ${{ github.event.workflow_run.name }}`
162+
`[cost-tracker] High spend alert for run #${{ github.event.workflow_run.run_number }}: $TOTAL_COST`
163163

164164
Include the full breakdown and a link to the run. The $1.00 threshold is a conservative
165165
starting point. Edit this workflow to raise or lower it to match your budget.

0 commit comments

Comments
 (0)