| DevOps Health — Deep Investigation |
Worker agent that performs deep root-cause analysis on a single health check finding (pipeline, infrastructure, or resource). Dispatched by the health check orchestrator.
|
| workflow_dispatch |
steps |
| inputs |
| finding_id |
finding_type |
finding_title |
finding_severity |
resource_url |
health_issue_number |
correlation_id |
| description |
required |
| Fingerprint ID of the finding to investigate |
true |
|
| description |
required |
| Category: pipeline | infra | resource |
true |
|
| description |
required |
| Human-readable title of the finding |
true |
|
| description |
required |
| Severity: critical | warning | info |
true |
|
| description |
required |
| URL to the primary resource (run, PR, etc.) |
true |
|
| description |
required |
| Issue number of the pinned health dashboard |
true |
|
| description |
required |
| Unique ID linking this investigation to the health check run |
true |
|
|
|
| uses |
name |
with |
| actions/checkout@de0fac2e45 |
Checkout the select-copilot-pat action folder |
| persist-credentials |
sparse-checkout |
sparse-checkout-cone-mode |
fetch-depth |
| false |
.github/actions/select-copilot-pat |
true |
1 |
|
|
| id |
name |
uses |
env |
| select-copilot-pat |
Select Copilot token from pool |
./.github/actions/select-copilot-pat |
| SECRET_0 |
SECRET_1 |
SECRET_2 |
SECRET_3 |
SECRET_4 |
SECRET_5 |
SECRET_6 |
SECRET_7 |
| ${{ secrets.COPILOT_GITHUB_TOKEN }} |
${{ secrets.COPILOT_GITHUB_TOKEN_2 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_3 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_4 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_5 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_6 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_7 }} |
${{ secrets.COPILOT_GITHUB_TOKEN_8 }} |
|
|
|
|
| group |
| gh-aw-${{ github.workflow }}-${{ inputs.finding_id }} |
|
| pre-activation |
| outputs |
| copilot_pat_number |
| ${{ steps.select-copilot-pat.outputs.copilot_pat_number }} |
|
|
|
| id |
env |
| copilot |
| COPILOT_GITHUB_TOKEN |
| ${{ case(needs.pre_activation.outputs.copilot_pat_number == '0', secrets.COPILOT_GITHUB_TOKEN, needs.pre_activation.outputs.copilot_pat_number == '1', secrets.COPILOT_GITHUB_TOKEN_2, needs.pre_activation.outputs.copilot_pat_number == '2', secrets.COPILOT_GITHUB_TOKEN_3, needs.pre_activation.outputs.copilot_pat_number == '3', secrets.COPILOT_GITHUB_TOKEN_4, needs.pre_activation.outputs.copilot_pat_number == '4', secrets.COPILOT_GITHUB_TOKEN_5, needs.pre_activation.outputs.copilot_pat_number == '5', secrets.COPILOT_GITHUB_TOKEN_6, needs.pre_activation.outputs.copilot_pat_number == '6', secrets.COPILOT_GITHUB_TOKEN_7, needs.pre_activation.outputs.copilot_pat_number == '7', secrets.COPILOT_GITHUB_TOKEN_8, secrets.COPILOT_GITHUB_TOKEN) }} |
|
|
| contents |
actions |
issues |
pull-requests |
| read |
read |
read |
read |
|
| ../aw/shared/devops-investigate.lock.md |
|
| github |
bash |
| toolsets |
| repos |
| issues |
| pull_requests |
| actions |
|
|
| cat |
| grep |
| head |
| tail |
| find |
| ls |
| wc |
| jq |
| date |
| sort |
| diff |
|
|
|
|
60 |