diff --git a/.github/workflows/2-pre-release.yaml b/.github/workflows/2-pre-release.yaml index 631ec2488..3335ca28c 100644 --- a/.github/workflows/2-pre-release.yaml +++ b/.github/workflows/2-pre-release.yaml @@ -18,6 +18,7 @@ concurrency: jobs: publish-container-image: + if: github.repository == 'Green-Software-Foundation/carbon-aware-sdk' || vars.ENABLE_PRERELEASE_WORKFLOW == 'true' runs-on: ubuntu-latest permissions: packages: write diff --git a/.github/workflows/dev_carbon-aware-api.yml b/.github/workflows/dev_carbon-aware-api.yml index 9eb8aba88..5a65d5123 100644 --- a/.github/workflows/dev_carbon-aware-api.yml +++ b/.github/workflows/dev_carbon-aware-api.yml @@ -11,6 +11,7 @@ on: jobs: build: + if: github.repository == 'Green-Software-Foundation/carbon-aware-sdk' || vars.ENABLE_WEBAPP_WORKFLOW == 'true' runs-on: windows-latest steps: