Skip to content

ci: add git hooks for local CI parity - #960

Merged
rjmurillo merged 5 commits into
mainfrom
ci/add-git-hooks-local-ci-parity
Mar 1, 2026
Merged

ci: add git hooks for local CI parity#960
rjmurillo merged 5 commits into
mainfrom
ci/add-git-hooks-local-ci-parity

refactor: make git hooks silent on success

d730ae9
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Mar 1, 2026 in 0s

10 new issues (0 max.) of at least medium severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 10
           

See the complete overview on Codacy

Annotations

Check warning on line 18 in .githooks/hooks/Invoke-PreCommit.ps1

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.githooks/hooks/Invoke-PreCommit.ps1#L18

File 'Invoke-PreCommit.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 95 in .githooks/hooks/Invoke-PreCommit.ps1

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.githooks/hooks/Invoke-PreCommit.ps1#L95

File 'Invoke-PreCommit.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 96 in .githooks/hooks/Invoke-PreCommit.ps1

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.githooks/hooks/Invoke-PreCommit.ps1#L96

File 'Invoke-PreCommit.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 101 in .githooks/hooks/Invoke-PreCommit.ps1

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.githooks/hooks/Invoke-PreCommit.ps1#L101

File 'Invoke-PreCommit.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 16 in .githooks/hooks/Invoke-PrePush.ps1

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.githooks/hooks/Invoke-PrePush.ps1#L16

File 'Invoke-PrePush.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 27 in .githooks/hooks/Invoke-PrePush.ps1

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.githooks/hooks/Invoke-PrePush.ps1#L27

File 'Invoke-PrePush.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 28 in .githooks/hooks/Invoke-PrePush.ps1

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.githooks/hooks/Invoke-PrePush.ps1#L28

File 'Invoke-PrePush.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 33 in .githooks/hooks/Invoke-PrePush.ps1

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.githooks/hooks/Invoke-PrePush.ps1#L33

File 'Invoke-PrePush.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 64 in .githooks/lib/LintHelpers.ps1

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.githooks/lib/LintHelpers.ps1#L64

File 'LintHelpers.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.

Check warning on line 76 in .githooks/lib/LintHelpers.ps1

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

.githooks/lib/LintHelpers.ps1#L76

File 'LintHelpers.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.