Files

17 lines
626 B
YAML
Raw Permalink Normal View History

- id: watermarks-remover-check
name: watermarks-remover check
description: Fail the commit if staged files carry AI/C2PA provenance marks.
entry: python3 service/scripts/check_staged.py
language: system
stages: [pre-commit]
- id: watermarks-remover-clean
name: watermarks-remover clean (auto-fix)
description: >-
Strip AI/C2PA provenance marks from staged files in place. Opt-in: this
rewrites file contents, so add it only if you want staged files cleaned
automatically rather than just failing the commit.
entry: python3 service/scripts/clean_staged.py
language: system
stages: [pre-commit]