From baee642dcc30ae0982bb8e82e954c859458bcf6a Mon Sep 17 00:00:00 2001 From: David Daly Date: Tue, 30 Jan 2024 14:02:59 +0000 Subject: [PATCH] only run if environment is not ghes --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index 0800315..47ac691 100644 --- a/action.yml +++ b/action.yml @@ -49,6 +49,7 @@ runs: - name: Generate Provenance Attestation uses: github-early-access/generate-build-provenance@main id: build-provenance + if: contains(github.server_url, 'github.com') || contains(github.server_url, 'ghe.com') with: subject-name: ${{github.repository}}_${{github.ref}} subject-digest: ${{steps.publish.outputs.package-manifest-sha}}