From e32c8cb0af62638113d8a6a57c3fb2a994313f4e Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Mon, 11 Dec 2023 13:59:15 -0800 Subject: [PATCH] Update release automation --- .github/workflows/propose_release.yml | 28 +++++++++++++++++++++++++++ .github/workflows/pull_master.yml | 14 -------------- 2 files changed, 28 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/propose_release.yml delete mode 100644 .github/workflows/pull_master.yml diff --git a/.github/workflows/propose_release.yml b/.github/workflows/propose_release.yml new file mode 100644 index 0000000..21eea4e --- /dev/null +++ b/.github/workflows/propose_release.yml @@ -0,0 +1,28 @@ +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_semver_release.yml@master + with: + branch: dev + release_type: ${{ inputs.release_type }} + update_changelog: True + version_file: "neon_iris/version.py" + pull_changes: + uses: neongeckocom/.github/.github/workflows/pull_master.yml@master + needs: update_version + with: + pr_reviewer: neonreviewers + pr_assignee: ${{ github.actor }} + pr_draft: false + pr_title: ${{ needs.update_version.outputs.version }} + pr_body: ${{ needs.update_version.outputs.changelog }} \ No newline at end of file diff --git a/.github/workflows/pull_master.yml b/.github/workflows/pull_master.yml deleted file mode 100644 index 8ab60d3..0000000 --- a/.github/workflows/pull_master.yml +++ /dev/null @@ -1,14 +0,0 @@ -# This workflow will generate a PR for changes in cert into master - -name: Pull to Master -on: - push: - branches: - - dev - -jobs: - pull_changes: - uses: neongeckocom/.github/.github/workflows/pull_master.yml@master - with: - pr_reviewer: neonreviewers - pr_assignee: neondaniel