Skip to content

Commit 0ffc555

Browse files
committed
fix: Skip Gitleaks check on forks as they don't have the license key
1 parent c189c20 commit 0ffc555

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ jobs:
217217
gitleaks:
218218
name: Gitleaks check
219219
runs-on: ubicloud-standard-2
220+
# Only run for base repo, not forks
221+
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request'
220222
steps:
221223
- name: Checkout code
222224
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4

0 commit comments

Comments
 (0)