Skip to content

New feature: CI failure autofix workflow (#138) - #139

Open
georgmaisser wants to merge 1 commit into
mainfrom
add-ci-failure-autofix
Open

New feature: CI failure autofix workflow (#138)#139
georgmaisser wants to merge 1 commit into
mainfrom
add-ci-failure-autofix

Conversation

@georgmaisser

Copy link
Copy Markdown
Contributor

Adds .github/workflows/ci-failure-autofix.yml: on every failed Moodle Plugin CI run it analyzes the logs via claude-code-action, always files an analysis issue, and for trivial causes (syntax/phpcs/PHPDoc/lint) opens a fix PR from a claude/ branch targeting the failing branch. Guards: same-repo branches only, claude/ branches excluded (no fix loops), never pushes to the failing branch.

Before merging: the secret CLAUDE_CODE_OAUTH_TOKEN must exist (org-level recommended), e.g. generated via claude setup-token.

Closes #138

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add automated CI failure analysis & autofix workflow

1 participant