diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index 2221597f..b2e99c72 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -95,7 +95,7 @@ jobs: release: name: release runs-on: ubuntu-latest - needs: [ env, image-manifest ] + # needs: [ env, image-manifest ] steps: - name: checkout code uses: actions/checkout@v2 @@ -123,25 +123,25 @@ jobs: release/*.tgz draft: true generate_release_notes: true - - name: submit charts to OCM chart repo - uses: actions/github-script@v6 - with: - github-token: ${{ secrets.OCM_BOT_PAT }} - script: | - try { - const result = await github.rest.actions.createWorkflowDispatch({ - owner: 'open-cluster-management-io', - repo: 'helm-charts', - workflow_id: 'download-chart.yml', - ref: 'main', - inputs: { - repo: "${{ github.repository }}", - version: "${{ needs.env.outputs.TRIMED_RELEASE_VERSION }}", - "chart-name": "${{ env.CHART_NAME }}", - }, - }) - console.log(result); - } catch(error) { - console.error(error); - core.setFailed(error); - } + # - name: submit charts to OCM chart repo + # uses: actions/github-script@v6 + # with: + # github-token: ${{ secrets.OCM_BOT_PAT }} + # script: | + # try { + # const result = await github.rest.actions.createWorkflowDispatch({ + # owner: 'open-cluster-management-io', + # repo: 'helm-charts', + # workflow_id: 'download-chart.yml', + # ref: 'main', + # inputs: { + # repo: "${{ github.repository }}", + # version: "${{ needs.env.outputs.TRIMED_RELEASE_VERSION }}", + # "chart-name": "${{ env.CHART_NAME }}", + # }, + # }) + # console.log(result); + # } catch(error) { + # console.error(error); + # core.setFailed(error); + # }