Skip to content

Commit 2ecb9e9

Browse files
authored
ci: test fork in a generic way (#32818)
1 parent a8a752c commit 2ecb9e9

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

.github/workflows/binary-compatibility-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
check-binary-compatibility:
1717
name: Check / Binary Compatibility
1818
runs-on: Akka-Default
19-
if: github.repository == 'akka/akka'
19+
if: github.event.repository.fork == false
2020
strategy:
2121
fail-fast: false
2222
matrix:

.github/workflows/fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fossa:
1313
name: Fossa
1414
runs-on: Akka-Default
15-
if: github.repository == 'akka/akka'
15+
if: github.event.repository.fork == false
1616
steps:
1717
- name: Checkout Global Scripts
1818
uses: actions/checkout@v4

.github/workflows/multi-node-aeron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run-multi-node-aeron-tests:
2424
name: Multi Node Test with Artery Aeron UDP transport
2525
runs-on: Akka-Default
26-
if: github.repository == 'akka/akka'
26+
if: github.event.repository.fork == false
2727
steps:
2828
- name: Checkout Global Scripts
2929
uses: actions/checkout@v4

.github/workflows/multi-node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run-multi-node-tests:
2323
name: Multi Node Test
2424
runs-on: Akka-Default
25-
if: github.repository == 'akka/akka'
25+
if: github.event.repository.fork == false
2626
steps:
2727
- name: Checkout Global Scripts
2828
uses: actions/checkout@v4

.github/workflows/nightly-builds.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
akka-cluster-metrics-sigar:
1717
name: Akka Cluster Metrics Test with Sigar
1818
runs-on: Akka-Default
19-
if: github.repository == 'akka/akka'
19+
if: github.event.repository.fork == false
2020
steps:
2121
- name: Checkout Global Scripts
2222
uses: actions/checkout@v4
@@ -98,7 +98,7 @@ jobs:
9898
jdk-nightly-build:
9999
name: JDK ${{ matrix.jdkVersion }} / Scala ${{ matrix.scalaVersion }}
100100
runs-on: Akka-Default
101-
if: github.repository == 'akka/akka'
101+
if: github.event.repository.fork == false
102102
strategy:
103103
fail-fast: false
104104
matrix:
@@ -217,7 +217,7 @@ jobs:
217217
akka-artery-aeron-tests:
218218
name: Akka Artery Aeron Tests
219219
runs-on: Akka-Default
220-
if: github.repository == 'akka/akka'
220+
if: github.event.repository.fork == false
221221
strategy:
222222
fail-fast: false
223223
matrix:

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
documentation:
1818
name: Documentation
1919
runs-on: Akka-Default
20-
if: github.repository == 'akka/akka'
20+
if: github.event.repository.fork == false
2121
steps:
2222
- name: Checkout Global Scripts
2323
uses: actions/checkout@v4

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
sbt:
1818
name: sbt publish
1919
runs-on: Akka-Default
20-
if: github.repository == 'akka/akka'
20+
if: github.event.repository.fork == false
2121
steps:
2222
- name: Checkout Global Scripts
2323
uses: actions/checkout@v4

.github/workflows/timing-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
akka-timing-sensitive-tests:
1717
name: Akka Tests taggedAs TimingTest
1818
runs-on: Akka-Default
19-
if: github.repository == 'akka/akka'
19+
if: github.event.repository.fork == false
2020
steps:
2121
- name: Checkout Global Scripts
2222
uses: actions/checkout@v4

0 commit comments

Comments
 (0)