fix: test failures caused by GitHub Actions token masking, updates (#97)

* Initial plan

* Fix test token masking issue in GitHub Actions

Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>

* chore: update permissions, go version, linting

* fix(ci): ignore test tokens for gitleaks

* chore: add fetch-depth zero to all checkout actions

* fix(ci): pr-lint contents write permission

* [MegaLinter] Apply linters fixes

* chore: ignore and remove megalinter-reports

* fix: restore commitlint pre-commit hook to v9.24.0

Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ivuorinen <11024+ivuorinen@users.noreply.github.com>
Co-authored-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
Copilot
2025-11-13 18:13:20 +02:00
committed by GitHub
parent f4222fb6f3
commit d09c7918cb
23 changed files with 89 additions and 72 deletions

View File

@@ -27,7 +27,7 @@ repos:
# Renovatebot pre-commit hooks
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 42.1.3
rev: 42.7.0
hooks:
- id: renovate-config-validator
@@ -40,9 +40,10 @@ repos:
# Markdown linting with markdownlint-cli2 (excluding legacy files)
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.18.1
rev: v0.19.0
hooks:
- id: markdownlint-cli2
args: [--fix]
exclude: "^testdata/"
# EditorConfig checking
@@ -54,7 +55,7 @@ repos:
# Go formatting, imports, and linting
- repo: https://github.com/TekWizely/pre-commit-golang
rev: v1.0.0-rc.2
rev: v1.0.0-rc.4
hooks:
- id: go-imports-repo
args: [-w]