Skip to content

ci(ci): skip gitleaks on pull_request_target (unsupported by action)#373

Merged
AntonYeromin merged 1 commit into
mainfrom
ci/fork-pr-secrets-pull-request-target
Jun 17, 2026
Merged

ci(ci): skip gitleaks on pull_request_target (unsupported by action)#373
AntonYeromin merged 1 commit into
mainfrom
ci/fork-pr-secrets-pull-request-target

Conversation

@AntonYeromin

Copy link
Copy Markdown
Collaborator

Summary

The gitleaks/gitleaks-action does not support the pull_request_target event and errors immediately. Scoping secrets-detection back to pull_request only fixes this — fork PRs are covered by the integration environment approval gate instead.

Changes

  • secrets-detection job condition: pull_request_target removed, pull_request only

Checklist

  • Self-reviewed
  • No breaking changes

@AntonYeromin AntonYeromin force-pushed the ci/fork-pr-secrets-pull-request-target branch from 038e5cf to daad2c6 Compare June 17, 2026 08:46
@AntonYeromin AntonYeromin merged commit ae17f7d into main Jun 17, 2026
7 of 8 checks passed
@AntonYeromin AntonYeromin deleted the ci/fork-pr-secrets-pull-request-target branch June 17, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant