From 841a6404d72dd55164d73042b973276b90ad2698 Mon Sep 17 00:00:00 2001 From: Manfred Riem Date: Sun, 20 Oct 2024 13:20:44 -0500 Subject: [PATCH] Fixes #4065 - Change tck-coreprofile workflow to NOT run on forks (#4072) --- .github/workflows/tck-coreprofile.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/tck-coreprofile.yml b/.github/workflows/tck-coreprofile.yml index 7217e14ee..380b81ac0 100644 --- a/.github/workflows/tck-coreprofile.yml +++ b/.github/workflows/tck-coreprofile.yml @@ -17,6 +17,7 @@ on: workflow_dispatch: jobs: annotations: + if: github.repository == 'piranhacloud/piranha' runs-on: ${{ matrix.os }} strategy: matrix: @@ -38,6 +39,7 @@ jobs: mvn -B -ntp verify cat target/tck/report/text/summary.txt >> $GITHUB_STEP_SUMMARY atinject: + if: github.repository == 'piranhacloud/piranha' runs-on: ${{ matrix.os }} strategy: matrix: @@ -63,6 +65,7 @@ jobs: paths: "external/coreprofile-tck/atinject/target/tck/example/target/surefire-reports/TEST-*.xml" if: always() cdi: + if: github.repository == 'piranhacloud/piranha' runs-on: ${{ matrix.os }} strategy: matrix: @@ -88,6 +91,7 @@ jobs: paths: "external/coreprofile-tck/cdi/runner/target/surefire-reports/junitreports/TEST-*.xml" if: always() coreprofile: + if: github.repository == 'piranhacloud/piranha' runs-on: ${{ matrix.os }} strategy: matrix: @@ -113,6 +117,7 @@ jobs: paths: "external/coreprofile-tck/coreprofile/runner/target/failsafe-reports/**/TEST-*.xml" if: always() jsonb: + if: github.repository == 'piranhacloud/piranha' runs-on: ${{ matrix.os }} strategy: matrix: @@ -138,6 +143,7 @@ jobs: paths: "external/coreprofile-tck/jsonb/target/tck/bin/target/surefire-reports/TEST-*.xml" if: always() jsonp: + if: github.repository == 'piranhacloud/piranha' runs-on: ${{ matrix.os }} strategy: matrix: @@ -165,6 +171,7 @@ jobs: external/coreprofile-tck/jsonp/target/tck/bin/tck-tests-pluggability/target/surefire-reports/TEST-*.xml if: always() rest: + if: github.repository == 'piranhacloud/piranha' runs-on: ${{ matrix.os }} strategy: matrix: