Repository navigation
Add CI validation, gated Pages deploy, and Dependabot - #1
Merged
Merged
Conversation
- Highlights block: div -> section so its aria-label is exposed - topk demos: add role="img" to labelled canvases - Replace dead cispa.saarland group link with cispa.de
- validate job: html-validate (recommended preset), lychee link check, and a 5 MB file-size guard; runs on PRs, pushes, and weekly - deploy job: publishes to GitHub Pages from main only after validate passes (requires Pages source = GitHub Actions) - Dependabot keeps action versions up to date
- Attribution: .github/scripts/check_commit_messages.py strips markers at prepare-commit-msg, refuses them at commit-msg and pre-push, and the CI attribution job refuses any commit a PR or push introduces - Hygiene: pre-commit file checks, detect-private-key and gitleaks on staged changes; CI runs the hooks on the whole tree and gitleaks on the full history - AGENTS.md states the repo policy; .claude/settings.json disables Claude Code attribution at the source - Deploy waits for all three checks and publishes only site files
mlapin
force-pushed
the
ci/validate-and-protect
branch
from
November 3, 2026 20:12
2fc82af to
5e61f72
Compare
- Session-Link: chatgpt.com/codex task links and ChatGPT share and conversation links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
CI (
.github/workflows/site.yml). Three required checks run on PRs, on pushes tomain, and weekly:attributionrefuses any commit introduced by the PR or push that carries an attribution or session marker (Co-Authored-By, "Generated with ...", agent emails and identities for Claude, Codex and Cursor, claude.ai, cursor.com and chatgpt.com/codex session links). A scheduled or manual run, or a rewritten base, audits the whole history.hygieneruns the pre-commit file checks on the whole tree (merge-conflict markers, large files, private keys, YAML/JSON syntax, whitespace) and scans the full git history with gitleaks.validate:html-validatewith therecommendedpreset.no-inline-styleis off because the self-contained topk demos use inline styles.lycheelink check..lycheeignoreskips sites that block CI runners or bots: Google Scholar, ACM DL /doi.org/10.1145, X, and the Saarland thesis repository.Deploy. The
deployjob publishes to Pages frommainonly after all three checks pass. It uploads only the site files: no dotfiles, tooling, orAGENTS.md.Local hooks (
.pre-commit-config.yaml). Install withpre-commit install:prepare-commit-msgstrips attribution lines. Unlike the other hooks, it still runs undergit commit --no-verify.commit-msgandpre-pushrefuse whatever the strip misses.pre-commitruns the file checks and gitleaks on staged changes.The checker lives in
.github/scripts/check_commit_messages.pyand needs onlypython3.Agent policy.
AGENTS.mdcovers no attribution, no commits tomain, no hook bypass, no secrets, the setup steps, and site conventions..claude/settings.jsondisables Claude Code's commit and PR attribution at the source.Dependabot sends monthly, grouped updates for action versions.
Fixes found by the validator
index.html: the highlights<div aria-label>is now a<section>, because screen readers ignore labels on plain divs.topk/*.html: labelled<canvas>elements getrole="img".cispa.saarlandlink to Mario Fritz's group now points tocispa.de/en/research/groups/fritz.Repo settings (already applied)
protect-mainruleset:attribution,hygieneandvalidatepassing.