Skip to content

Commit c670176

Browse files
Only run publish workflow on kr8s-org/kr8s (#497)
1 parent 19e0ce2 commit c670176

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- "v*.*.*"
66
jobs:
77
publish-kr8s:
8+
if: github.repository == 'kr8s-org/kr8s'
89
runs-on: ubuntu-latest
910
environment:
1011
name: pypi
@@ -20,6 +21,7 @@ jobs:
2021
- name: Publish kr8s
2122
uses: pypa/gh-action-pypi-publish@release/v1
2223
publish-kubectl-ng:
24+
if: github.repository == 'kr8s-org/kr8s'
2325
runs-on: ubuntu-latest
2426
needs: publish-kr8s
2527
timeout-minutes: 30

0 commit comments

Comments
 (0)