Skip to content

Commit b3ec652

Browse files
committed
switched to more generic disabling repository forks
1 parent d5a9d19 commit b3ec652

28 files changed

+28
-28
lines changed

.github/workflows/alpine.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
build:
31-
if: github.repository_owner == 'HariSekhon'
31+
if: github.event.repository.fork == false
3232
name: Alpine
3333
uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master
3434
with:

.github/workflows/alpine_3.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
build:
31-
if: github.repository_owner == 'HariSekhon'
31+
if: github.event.repository.fork == false
3232
name: Alpine 3
3333
uses: HariSekhon/GitHub-Actions/.github/workflows/alpine.yaml@master
3434
with:

.github/workflows/centos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
build:
31-
if: github.repository_owner == 'HariSekhon'
31+
if: github.event.repository.fork == false
3232
name: CentOS
3333
uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master
3434
with:

.github/workflows/centos7.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
build:
31-
if: github.repository_owner == 'HariSekhon'
31+
if: github.event.repository.fork == false
3232
name: CentOS 7
3333
uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master
3434
with:

.github/workflows/centos8.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
build:
31-
if: github.repository_owner == 'HariSekhon'
31+
if: github.event.repository.fork == false
3232
name: CentOS 8
3333
uses: HariSekhon/GitHub-Actions/.github/workflows/centos.yaml@master
3434
with:

.github/workflows/checkov.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ on:
3737

3838
jobs:
3939
checkov:
40-
if: github.repository_owner == 'HariSekhon'
40+
if: github.event.repository.fork == false
4141
name: Checkov
4242
uses: HariSekhon/GitHub-Actions/.github/workflows/checkov.yaml@master
4343
permissions:

.github/workflows/debian.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
build:
31-
if: github.repository_owner == 'HariSekhon'
31+
if: github.event.repository.fork == false
3232
name: Debian
3333
uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master
3434
with:

.github/workflows/debian_10.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
build:
31-
if: github.repository_owner == 'HariSekhon'
31+
if: github.event.repository.fork == false
3232
name: Debian 10
3333
uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master
3434
with:

.github/workflows/debian_8.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
build:
31-
if: github.repository_owner == 'HariSekhon'
31+
if: github.event.repository.fork == false
3232
name: Debian 8
3333
uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master
3434
with:

.github/workflows/debian_9.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828

2929
jobs:
3030
build:
31-
if: github.repository_owner == 'HariSekhon'
31+
if: github.event.repository.fork == false
3232
name: Debian 9
3333
uses: HariSekhon/GitHub-Actions/.github/workflows/debian.yaml@master
3434
with:

0 commit comments

Comments
 (0)