Skip to content

Commit 84a8291

Browse files
authored
Merge pull request #25 from diagridio/terraform-release
ci: fix terraform release job
2 parents 4f0e842 + de82c00 commit 84a8291

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -62,27 +62,3 @@ jobs:
6262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6363
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
6464

65-
terraform-provider-release:
66-
name: 'Terraform Provider Release'
67-
steps:
68-
- name: Get Token
69-
id: get_workflow_token
70-
uses: peter-murray/workflow-application-token-action@v4
71-
with:
72-
application_id: ${{ secrets.DIAGRID_BOT_APPLICATION_ID }}
73-
application_private_key: ${{ secrets.DIAGRID_BOT_APPLICATION_PRIVATE_KEY }}
74-
revoke_token: true
75-
76-
- name: Grant access to private diagrid repos
77-
shell: bash # required on run steps in composite actions
78-
run: |
79-
git config --global url."https://x-access-token:${{ inputs.workflow_token || steps.get_workflow_token.outputs.token }}@github.com/diagridio/".insteadOf "https://github.com/diagridio/"
80-
81-
- name: Terraform Provider Release
82-
uses: hashicorp/ghaction-terraform-provider-release/.github/workflows/community.yml@v4
83-
with:
84-
setup-go-version-file: go.mod
85-
secrets:
86-
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
87-
gpg-private-key-passphrase: ${{ secrets.GPG_PASSPHRASE }}
88-

0 commit comments

Comments
 (0)