diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 240af59da..8ca8cbab6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,8 +11,6 @@ permissions: packages: read # This is required for creating and modifying releases id-token: write - # Required for workflow dispatch - actions: write concurrency: group: release-${{ github.ref }} @@ -75,31 +73,3 @@ jobs: ./.build/tn_${{ env.VERSION }}_linux_amd64.tar.gz ./.build/tn_${{ env.VERSION }}_linux_arm64.tar.gz token: ${{ secrets.GITHUB_TOKEN }} - - trigger-builds: - name: Trigger AMI and Docker builds - runs-on: ubuntu-latest - needs: build-release - if: startsWith(github.ref, 'refs/tags/') - steps: - - name: Trigger AMI build - uses: actions/github-script@v7 - with: - script: | - await github.rest.actions.createWorkflowDispatch({ - owner: context.repo.owner, - repo: context.repo.repo, - workflow_id: 'ami-build.yml', - ref: context.ref - }); - - - name: Trigger Docker build - uses: actions/github-script@v7 - with: - script: | - await github.rest.actions.createWorkflowDispatch({ - owner: context.repo.owner, - repo: context.repo.repo, - workflow_id: 'publish-node-image.yaml', - ref: context.ref - });