Skip to content

feat: add GitHub Actions workflow to run lint on PRs #79

Description

@q-soriarty

Problem

scripts/lint.sh exists but only runs manually. A contributor can merge breaking changes (version mismatch, broken heading hierarchy) without the lint catching it.

Expected behavior

Add .github/workflows/lint.yml that:

  • Triggers on pull requests targeting main and develop
  • Runs ./scripts/lint.sh
  • Fails the PR check if any lint errors are found
  • Lightweight: no dependencies, just bash

This closes the gap between having a linter and enforcing it.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions