From 6b5a2978cc000d10395ce6b9805b5fc252c6b597 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Tue, 10 Dec 2024 17:23:36 +0100 Subject: [PATCH] Don't post updates to the Registry This provider shouldn't be published to the Pulumi registry, but it currently attempts to publish on every release. This disables publishing for this provider. --- .ci-mgmt.yaml | 1 + .github/workflows/publish.yml | 21 +-------------------- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index b97984d1..4fac1b5a 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -24,3 +24,4 @@ checkUpstreamUpgrade: true freeDiskSpaceBeforeBuild: false freeDiskSpaceBeforeTest: false freeDiskSpaceBeforeSdkBuild: false +publishRegistry: false diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c53002e4..27592585 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -154,32 +154,13 @@ jobs: go.* go/** !*.tar.gz - create_docs_build: - name: create_docs_build - needs: publish_sdk - # Only run for non-prerelease, if the publish_go_sdk job was successful or skipped - if: inputs.isPrerelease == false - runs-on: ubuntu-latest - steps: - - name: Dispatch Metadata build - uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3 - with: - token: ${{ secrets.PULUMI_BOT_TOKEN }} - repository: pulumi/registry - event-type: resource-provider - client-payload: |- - { - "project": "${{ github.repository }}", - "project-shortname": "xyz", - "ref": "${{ github.ref_name }}" - } clean_up_release_labels: name: Clean up release labels # Only run for non-prerelease, if the publish_go_sdk job was successful or skipped if: inputs.isPrerelease == false - needs: create_docs_build + needs: publish_sdk runs-on: ubuntu-latest steps: - name: Checkout Repo