mirror of
https://github.com/suitenumerique/people.git
synced 2026-08-17 21:25:52 +02:00
✅(ci) fix false print detection in commit
The method call `.thumbprint(...)` was detected as a print statement. Restrict detection to words `print` and `pprint`.
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
||||
run: git log
|
||||
- name: Enforce absence of print statements in code
|
||||
run: |
|
||||
! git diff origin/${{ github.event.pull_request.base.ref }}..HEAD -- . ':(exclude)**/people.yml' | grep "print("
|
||||
! git diff origin/${{ github.event.pull_request.base.ref }}..HEAD -- . ':(exclude)**/people.yml' | grep -E "(\bprint\(|\bpprint\()"
|
||||
- name: Check absence of fixup commits
|
||||
run: |
|
||||
! git log | grep 'fixup!'
|
||||
|
||||
Reference in New Issue
Block a user