From 0c958e581ee2be7240868cbdc723278e754b0043 Mon Sep 17 00:00:00 2001 From: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> Date: Thu, 26 Oct 2023 16:36:16 -0700 Subject: [PATCH] Update GitHub release automation (#7) Co-authored-by: Daniel McKnight --- .github/workflows/propose_release.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/propose_release.yml b/.github/workflows/propose_release.yml index 09d34af..03673b2 100644 --- a/.github/workflows/propose_release.yml +++ b/.github/workflows/propose_release.yml @@ -1,17 +1,25 @@ name: Propose Stable Release on: workflow_dispatch: + inputs: + release_type: + type: choice + description: Release Type + options: + - patch + - minor + - major jobs: update_version: - uses: neongeckocom/.github/.github/workflows/propose_dated_release.yml@master + uses: neongeckocom/.github/.github/workflows/propose_semver_release.yml@master with: branch: dev - update_changelog: true - # Changelog automation fails with this large repo + release_type: ${{ inputs.release_type }} + update_changelog: True version_file: "neon_minerva/version.py" - pull_changes: uses: neongeckocom/.github/.github/workflows/pull_master.yml@master + needs: update_version with: pr_reviewer: neonreviewers pr_assignee: ${{ github.actor }}