mirror of
https://github.com/guillaumemeyer/watermarks-remover.git
synced 2026-08-22 13:11:57 +02:00
17 lines
626 B
YAML
17 lines
626 B
YAML
- 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]
|