Skip to content

Add automated CI failure analysis & autofix workflow #138

Description

@georgmaisser

Set up an automated workflow that reacts to failed "Moodle Plugin CI" runs:

  • Analyzes the failed run's logs (claude-code-action).
  • Always documents the root cause in an issue.
  • For trivial causes only (syntax errors, phpcs, PHPDoc, lint) it opens a fix PR from a claude/-prefixed branch targeting the failing branch — never pushing to the branch itself.
  • Non-trivial failures (PHPUnit/Behat, core incompatibilities) get analysis only, no code changes.

Requires the org/repo secret CLAUDE_CODE_OAUTH_TOKEN.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions