Skip to content
Closed
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
3 changes: 2 additions & 1 deletion .github/workflows/gh-aw-branch-actions-detective.lock.yml

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

1 change: 1 addition & 0 deletions .github/workflows/gh-aw-branch-actions-detective.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Analyze failed GitHub Actions CI runs on protected branches (e.g. `main`) in ${{
gh api repos/${{ github.repository }}/actions/runs/{run_id}/jobs \
--jq '.jobs[] | {id: .id, name: .name, conclusion: .conclusion, html_url: .html_url}'
````
- If none of the jobs have a `failure` conclusion, call `noop` with message "No failed jobs in workflow run; nothing to report" and stop.
- Download logs to `/tmp/gh-aw/agent/` and inspect the failing step output:
````bash
gh api repos/${{ github.repository }}/actions/runs/{run_id}/logs \
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gh-aw-pr-actions-detective.lock.yml

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

1 change: 1 addition & 0 deletions .github/workflows/gh-aw-pr-actions-detective.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ Assist with failed GitHub Actions checks for pull requests in ${{ github.reposit
gh api repos/${{ github.repository }}/actions/runs/{run_id}/jobs \
--jq '.jobs[] | {id: .id, name: .name, conclusion: .conclusion, html_url: .html_url}'
```
- If none of the jobs have a `failure` conclusion, call `noop` with message "No failed jobs in workflow run; nothing to report" and stop.
- Download logs to `/tmp/gh-aw/agent/` and inspect the failing step output:
```bash
gh api repos/${{ github.repository }}/actions/runs/{run_id}/logs \
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/gh-aw-pr-ci-detective.lock.yml

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

1 change: 1 addition & 0 deletions gh-agent-workflows/branch-actions-detective/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ See [example.yml](example.yml) for the full workflow file.
## Safe Outputs

- `create-issue` — file a tracking issue for the CI failure (max 1, auto-closes older issues)
- `noop` — emitted when no failed jobs are found or failure already tracked by an open issue
1 change: 1 addition & 0 deletions gh-agent-workflows/pr-actions-detective/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ See [example.yml](example.yml) for the full workflow file.
## Safe Outputs

- `add-comment` — post a comment explaining the failure (max 3)
- `noop` — emitted when no failed jobs are found or diagnosis unchanged since last report
Loading