This commit is contained in:
@@ -20,7 +20,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-test:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-latestf
|
||||
timeout-minutes: 20
|
||||
env:
|
||||
PUBLIC_AUTH_SIGNIN_URL: ${{ secrets.PUBLIC_AUTH_SIGNIN_URL }}
|
||||
@@ -79,10 +79,10 @@ jobs:
|
||||
- name: Build site
|
||||
run: npm run build
|
||||
|
||||
- name: Guard — no TODO markers may ship in built HTML
|
||||
- name: Guard — no TBD markers may ship in built HTML
|
||||
run: |
|
||||
if grep -rlE '(TODO|TBD):' dist 2>/dev/null | grep -E '\.(html|svg)$'; then
|
||||
echo "Built output contains unfilled <TODO:...> (or legacy <TBD:...>) markers."
|
||||
if grep -rlE '(TBD):' dist 2>/dev/null | grep -E '\.(html|svg)$'; then
|
||||
echo "Built output contains unfilled <TBD:...>) markers."
|
||||
echo "Fill in imprint.astro and privacy.astro operator fields before merging to main."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user