Skip to content

Commit 7a010cc

Browse files
committed
ci: skip privileged PR jobs on fork PRs
1 parent 4dced14 commit 7a010cc

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/claude-md-audit.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ concurrency:
1616

1717
jobs:
1818
audit:
19-
if: github.event.pull_request.draft == false
19+
if: >-
20+
github.event.pull_request.draft == false &&
21+
github.event.pull_request.head.repo.full_name == github.repository
2022
runs-on: ubuntu-latest
2123
permissions:
2224
contents: read

.github/workflows/helm-pr-prerelease.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454

5555
prerelease:
5656
needs: lint-and-test
57+
if: github.event.pull_request.head.repo.full_name == github.repository
5758
runs-on: ubuntu-latest
5859
permissions:
5960
contents: read

0 commit comments

Comments
 (0)