Skip to content

chore(deps): bump github.com/hashicorp/terraform-plugin-testing (#83) #135

chore(deps): bump github.com/hashicorp/terraform-plugin-testing (#83)

chore(deps): bump github.com/hashicorp/terraform-plugin-testing (#83) #135

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches:
- 'main'
tags-ignore:
- '**'
jobs:
release:
if: contains(github.event.head_commit.message, 'chore(release)') != true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
token: ${{ secrets.CID_ACTIONS }}
- name: Release
id: release
uses: cycjimmy/semantic-release-action@v4
with:
extra_plugins: |
"@semantic-release/changelog@6.0.2"
"@semantic-release/commit-analyzer@9.0.2"
"@semantic-release/exec@6.0.3"
"@semantic-release/git@10.0.1"
"@semantic-release/github@8.0.7"
"@semantic-release/release-notes-generator@10.0.3"
"conventional-changelog-conventionalcommits@5.0.0"
env:
GITHUB_TOKEN: ${{ secrets.CID_ACTIONS }}
- name: Set up Go
if: steps.release.outputs.new_release_published == 'true'
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Run GoReleaser
if: steps.release.outputs.new_release_published == 'true'
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.CID_ACTIONS }}