diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 01c971fbc5..cbce937464 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -14,6 +14,23 @@ permissions: contents: read jobs: + readme-notice: + name: Check for README notice + runs-on: ubuntu-24.04 + + steps: + - name: Repo checkout + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 + with: + persist-credentials: false + + - name: Check that README.md has no review notice + run: | + if grep -F "Remove this line to confirm you've reviewed this PR before submitting." README.md >/dev/null; then + echo "::error file=README.md,line=1::Remove the review notice from README.md before merging." + exit 1 + fi + build: name: Lint Code Base runs-on: ubuntu-24.04