Skip to content

Commit 46ec3d8

Browse files
committed
Skip plus tests on a fork
Problem: The NGINX Plus JWT is only available on the upstream repo, so automated tests for Plus can't be run on forks. Solution: Skip these test runs on a fork.
1 parent 581fd74 commit 46ec3d8

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.github/workflows/conformance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ permissions:
2323
jobs:
2424
conformance-tests:
2525
name: Run Tests
26+
if: ${{ !(github.event.repository.fork == true && inputs.image == 'plus') }}
2627
runs-on: ubuntu-24.04
2728
permissions:
2829
contents: write # needed for uploading release artifacts

.github/workflows/functional.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ permissions:
2020
jobs:
2121
functional-tests:
2222
name: Run Tests
23+
if: ${{ !(github.event.repository.fork == true && inputs.image == 'plus') }}
2324
runs-on: ubuntu-24.04
2425
env:
2526
DOCKER_BUILD_SUMMARY: false

.github/workflows/helm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
helm-tests-local:
1818
name: Helm Tests Local
1919
runs-on: ubuntu-24.04
20-
if: ${{ github.event_name != 'schedule' }}
20+
if: ${{ github.event_name != 'schedule' && !(github.event.repository.fork == true && inputs.image == 'plus') }}
2121
steps:
2222
- name: Checkout Repository
2323
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)