Files
actions/pr-lint
Ismo Vuorinen 1b6d7240a8 refactor: migrate Node.js linters from common-cache to actions/cache
Replace common-cache wrapper with native actions/cache@v4.3.0 in all
Node.js linting actions.

Changes:
- biome-lint: Use actions/cache with direct hashFiles()
- eslint-lint: Use actions/cache with direct hashFiles()
- prettier-lint: Use actions/cache with direct hashFiles()
- pr-lint: Use actions/cache with direct hashFiles()

All actions now use:
- Native GitHub Actions cache functionality
- Multi-lock-file support (npm, yarn, pnpm, bun)
- Two-level restore-keys for graceful fallback
- OS-aware cache keys with runner.os

Benefits:
- No wrapper overhead
- Native hashFiles() instead of manual SHA256
- Consistent caching pattern across all Node.js actions
2025-11-20 15:09:58 +02:00
..

ivuorinen/actions/pr-lint

PR Lint

Description

Runs MegaLinter against pull requests

Inputs

name description required default
token

GitHub token for authentication

false ""
username

GitHub username for commits

false github-actions
email

GitHub email for commits

false github-actions@github.com

Outputs

name description
validation_status

Overall validation status (success/failure)

errors_found

Number of linting errors found

Runs

This action is a composite action.

Usage

- uses: ivuorinen/actions/pr-lint@main
  with:
    token:
    # GitHub token for authentication
    #
    # Required: false
    # Default: ""

    username:
    # GitHub username for commits
    #
    # Required: false
    # Default: github-actions

    email:
    # GitHub email for commits
    #
    # Required: false
    # Default: github-actions@github.com