From 53f60093b23cb3033d279007e983c5fdd500025d Mon Sep 17 00:00:00 2001 From: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> Date: Thu, 26 Oct 2023 16:20:58 -0700 Subject: [PATCH] Update GitHub release automation (#6) Co-authored-by: Daniel McKnight --- .github/workflows/propose_release.yml | 20 ++++++++++++++++++++ .github/workflows/pull_master.yml | 14 -------------- 2 files changed, 20 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..09d34af --- /dev/null +++ b/.github/workflows/propose_release.yml @@ -0,0 +1,20 @@ +name: Propose Stable Release +on: + workflow_dispatch: +jobs: + update_version: + uses: neongeckocom/.github/.github/workflows/propose_dated_release.yml@master + with: + branch: dev + update_changelog: true + # Changelog automation fails with this large repo + version_file: "neon_minerva/version.py" + + pull_changes: + uses: neongeckocom/.github/.github/workflows/pull_master.yml@master + 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