Skip to content

Commit 9ed5725

Browse files
committed
Only run beta and release workflows on main repo.
1 parent 86e1097 commit 9ed5725

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/beta.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
jobs:
88
pre-release:
99
name: "Beta Release"
10+
if: github.repository == "sdkman/sdkman-cli"
1011
environment: production
1112
runs-on: "ubuntu-latest"
1213
services:

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
jobs:
77
build:
88
name: "Stable Release"
9+
if: github.repository == "sdkman/sdkman-cli"
910
runs-on: ubuntu-latest
1011
environment: production
1112
services:

0 commit comments

Comments
 (0)