kionsoftware / terraform-provider-kion

Terraform Provider for Kion
Mozilla Public License 2.0
5 stars 4 forks source link

Update GitHub Actions Workflow: Bump Actions Versions and Add Tag Verification #52

Closed bshutterkion closed 5 months ago

bshutterkion commented 5 months ago

PR Title

Update GitHub Actions Workflow: Bump Actions Versions and Add Tag Verification

PR Description

Changes

This pull request updates the GitHub Actions workflow file .github/workflows/release.yml with the following changes:

  1. Update Actions Versions:

    • actions/checkout is updated from v2 to v4.
    • actions/setup-go is updated from v2 to v4.
    • goreleaser/goreleaser-action is updated from v2 to v4.
  2. Add Tag Verification:

    • Introduced a new step to verify that the tag being released is on the main branch.
    • The step checks if the tag is on the origin/main branch and exits if the tag is not found.
  3. Remove Release Notes Extraction Step:

    • The step for extracting release notes from CHANGELOG.md has been removed.

Rationale