# Checks for the radiance landing page, on every push and pull request: # the HTML is valid, and the history contains no secrets. name: check on: push: pull_request: jobs: html: runs-on: linux steps: - uses: actions/checkout@v7 - name: html-validate run: npx --yes html-validate@11.21.1 index.html secrets: runs-on: linux steps: - uses: actions/checkout@v7 with: fetch-depth: 0 - name: gitleaks env: VERSION: 8.30.1 run: | base="https://github.com/gitleaks/gitleaks/releases/download/v${VERSION}" curl -fsSL -o "gitleaks_${VERSION}_linux_x64.tar.gz" "$base/gitleaks_${VERSION}_linux_x64.tar.gz" curl -fsSL -o checksums.txt "$base/gitleaks_${VERSION}_checksums.txt" grep " gitleaks_${VERSION}_linux_x64.tar.gz\$" checksums.txt | sha256sum -c - tar -xzf "gitleaks_${VERSION}_linux_x64.tar.gz" gitleaks ./gitleaks git --redact --verbose --exit-code 1 .