Skip to content

Bootstrap org-wide defaults: community health, AI-agent policy, reusable workflows #6

Bootstrap org-wide defaults: community health, AI-agent policy, reusable workflows

Bootstrap org-wide defaults: community health, AI-agent policy, reusable workflows #6

Workflow file for this run

# Lint CI for nyuchitech/.github.
#
# This is a thin caller of the org's reusable lint workflow. The
# org's lint policy lives in ONE place — reusable-lint.yml in this
# same repo — and every consuming repo references it the same way.
# This file proves the reusable works by using it on its own repo.
#
# All five jobs (actionlint, JSON validity, prettier, markdownlint,
# yamllint) are blocking. CI never auto-fixes; the developer fixes
# locally and pushes.
name: Lint
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
lint:
uses: ./.github/workflows/reusable-lint.yml