Skip to content

Commit

Permalink
Only run publish workflow on kr8s-org/kr8s
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Sep 18, 2024
1 parent 665ff53 commit 2f668ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
- "v*.*.*"
jobs:
publish-kr8s:
if: github.repository == 'kr8s-org/kr8s'
runs-on: ubuntu-latest
environment:
name: pypi
Expand All @@ -20,6 +21,7 @@ jobs:
- name: Publish kr8s
uses: pypa/gh-action-pypi-publish@release/v1
publish-kubectl-ng:
if: github.repository == 'kr8s-org/kr8s'
runs-on: ubuntu-latest
needs: publish-kr8s
timeout-minutes: 30
Expand Down

0 comments on commit 2f668ad

Please sign in to comment.