Skip to content

ci: reusable PR GuardRails #2

Description

@anantakumarghosh

Summary

Develop a reusable set of PR GuardRails in the iquesters/actions repository tailored for Laravel projects. These GuardRails should help enforce best practices, code quality, and security checks automatically when a pull request is submitted.

Requirements

  • GuardRails should be easily configurable and reusable across multiple Laravel repositories.
  • Automate checks for coding standards, security vulnerabilities, and common Laravel mistakes.
  • Documentation should be provided on how to integrate and configure the GuardRails in other Laravel projects.

Implementation Ideas

  • Use GitHub Actions workflows or composite actions for modularity.
  • Example checks: PHPStan/Larastan analysis, PHP_CodeSniffer, custom Laravel-specific rules.
  • Fail PRs if critical issues are detected.

Additional Notes

  • Focus on extensibility and ease of integration.
  • Consider community feedback for commonly requested checks.

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions