github_actions.py 501 B

12345678910111213141516
  1. from ..core.module import Module
  2. from ..core.registry import register_module
  3. @register_module(
  4. name="github-actions",
  5. description="Manage GitHub Actions workflows",
  6. files=["action.yml", "action.yaml", "workflow.yml", "workflow.yaml"]
  7. )
  8. class GitHubActionsModule(Module):
  9. """Module for managing GitHub Actions workflows."""
  10. def __init__(self):
  11. super().__init__(name=self.name, description=self.description, files=self.files)
  12. def register(self, app):
  13. return super().register(app)