Skip to content

Commit 9685d43

Browse files
committed
Skip jobs on forks
1 parent 3fcf425 commit 9685d43

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/int.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ env:
1111
GOPRIVATE: github.com/step-security
1212
jobs:
1313
integration-test:
14+
if: github.event.repository.fork == false
1415
permissions:
1516
contents: read
1617
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
GOPRIVATE: github.com/step-security
1111
jobs:
1212
release:
13+
if: github.event.repository.fork == false
1314
permissions:
1415
contents: write
1516
runs-on: ubuntu-22.04

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212

1313
jobs:
1414
test:
15+
if: github.event.repository.fork == false
1516
permissions:
1617
contents: read
1718
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)