Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 876 Bytes

File metadata and controls

26 lines (19 loc) · 876 Bytes

CODEOWNERS Linting Reusable Workflow

Validates CODEOWNERS files using the lint-codeowners tool found in mozilla-it/sre-citools.

Inputs

Name Required Type Default Description
exclude_dirs false string "" Space-separated list of directories to exclude from linting (e.g. "projects misc modules")

Usage

name: Lint CODEOWNERS

on:
  pull_request:
    paths:
      - 'CODEOWNERS'

jobs:
  lint-codeowners:
    uses: mozilla-it/deploy-actions/.github/workflows/codeowners.yml@main
    with:
      exclude_dirs: "projects misc modules"  # optional: exclude specific directories