Skip to content

Improve list curation and maintenance workflows #8

Improve list curation and maintenance workflows

Improve list curation and maintenance workflows #8

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
guard-internal-files:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Block internal planning files
run: |
if [ -f "PLAN.md" ] || [ -f "PROMOTION.md" ]; then
echo "Internal planning files must not be committed."
echo "Remove PLAN.md and PROMOTION.md from git."
exit 1
fi
awesome-lint:
needs: guard-internal-files
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Run awesome-lint
run: npx awesome-lint