Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub Actions Workflow for Code Formatting #178

Closed
wants to merge 3 commits into from

Conversation

bdsumon4u
Copy link

Summary

This pull request introduces a GitHub Actions workflow to enforce consistent code formatting across the project using Laravel Pint. The workflow automatically runs on every push event for the main and *.x branches and pull_request event for the main branch.

Details

The workflow checks out the code, installs dependencies, and runs Laravel Pint.
If any formatting issues are detected, they are automatically corrected, and changes are committed back to the branch.
This ensures that codebase formatting remains consistent without manual intervention.

Benefits

Improved Code Quality: Enforces consistent code formatting across all contributions.
Time-Saving: Automates code formatting, reducing manual effort.
Ease of Collaboration: Maintains a clean and standardized codebase, making it easier for team members to work together.

Impact

No changes to the functionality or structure of the project. This workflow operates purely on the code formatting level.

Next Steps

If merged, the workflow will run on all subsequent pushes and pull requests to ensure a consistent codebase.

@bdsumon4u bdsumon4u closed this by deleting the head repository Jan 1, 2025
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.

1 participant