ci(secret-scan): fix gitleaks --source path (#3) #4

Merged
eSlider merged 4 commits from sync/secret-scan-fix#3 into main 2026-09-06 02:47:43 +01:00
Owner

Sync из GitHub (#14): docker://gitleaks action гонял --source на host-путь, которого нет в контейнере. Канон 2dph: бинарь gitleaks v8.30.1 + GITHUB_WORKSPACE.

Sync из GitHub (#14): docker://gitleaks action гонял --source на host-путь, которого нет в контейнере. Канон 2dph: бинарь gitleaks v8.30.1 + GITHUB_WORKSPACE.
eSlider added 4 commits 2026-09-06 02:47:40 +01:00
sync: gitea main (funding)
The docker://zricethezav/gitleaks action mounts the workspace at
/github/workspace, but --source pointed at the host path from
github.workspace ($HOME/runner/work/...), which does not exist inside the
container -> 'stat ...: no such file or directory' on every run.

Follow the 2dph canon (ci.yml secret-scan): install the gitleaks binary
instead of the docker action and scan GITHUB_WORKSPACE - works on both
GitHub and Gitea act runners.
Merge pull request #14 from eSlider/fix/secret-scan-workflow#3
Lint / Lint (push) Skipped
Release Please / Release Please (push) Skipped
Release / GoReleaser (push) Skipped
Tests / Test (Go 1.22 / ubuntu-latest) (push) Skipped
Tests / Test (Go 1.23 / ubuntu-latest) (push) Skipped
Tests / Test (Go stable / macos-latest) (push) Skipped
Tests / Test (Go stable / ubuntu-latest) (push) Skipped
Tests / Test (Go stable / windows-latest) (push) Skipped
Secret scan / Secret scan (gitleaks) (push) Successful in 4s
Secret scan / Secret scan (gitleaks) (pull_request) Successful in 3s
Tests / Test (Go 1.22 / ubuntu-latest) (pull_request) Successful in 19s
Tests / Test (Go 1.23 / ubuntu-latest) (pull_request) Successful in 44s
Lint / Lint (pull_request) Successful in 49s
Tests / Test (Go stable / ubuntu-latest) (pull_request) Successful in 1m9s
Tests / Test (Go stable / macos-latest) (pull_request) Canceled after 0s
Tests / Test (Go stable / windows-latest) (pull_request) Canceled after 0s
eb9056474f
ci(secret-scan): fix gitleaks --source path (docker action host path)
eSlider merged commit 316463a827 into main 2026-09-06 02:47:43 +01:00
eSlider deleted branch sync/secret-scan-fix#3 2026-09-06 02:47:43 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eSlider/go-config#4