add automation bots

This commit is contained in:
Alexa Louise
2026-01-24 16:54:02 -06:00
parent f4dedf3342
commit c8232a2b07
2 changed files with 43 additions and 0 deletions

20
.github/workflows/failure-issue.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
name: CI Failure Tracker
on:
workflow_run:
workflows: ["CORE CI"]
types: [completed]
jobs:
report:
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
with:
script: |
await github.rest.issues.create({
...context.repo,
title: "CI failed: " + context.payload.workflow_run.name,
body: context.payload.workflow_run.html_url
})