Files
actions/README.md

4.8 KiB

ivuorinen/actions - My Reusable GitHub Actions and Workflows

Overview

This project contains a collection of workflows and composable actions to streamline CI/CD processes and ensure code quality. The actions are grouped by purpose for easier discovery.

Setup & Caching

Linting & Formatting

Code Linting

Code Formatting

  • Prettier Check: Checks code formatting using Prettier.
  • Prettier Fix: Automatically fixes code formatting with Prettier.
  • Pre-Commit: Runs pre-commit hooks to enforce code quality standards.

Testing

  • PHP Tests: Runs PHPUnit tests to ensure PHP code correctness.
  • Laravel PHPUnit: Sets up Laravel and runs Composer tests.

Build & Package

  • C# Build: Builds C# projects using the .NET SDK.
  • Go Build: Builds Go projects using the go build command.
  • Docker Build: Builds Docker images using a Dockerfile.

Publish & Deployment

Release Management

  • GitHub Release: Automates GitHub release creation with custom tags and notes.
  • Release Monthly: Creates a monthly GitHub release with autogenerated notes.

Repository Maintenance

  • Common File Check: Checks for the presence of specific files based on a glob pattern.
  • Compress Images: Optimizes and creates a pull request with compressed images.
  • Stale: Closes stale issues and pull requests automatically.
  • Sync Labels: Syncs repository labels from a YAML file.

License

This project is licensed under the MIT License. See the LICENSE file for details.