Skip to content

Streamline the release scripts #386

Streamline the release scripts

Streamline the release scripts #386

name: "Update Release Draft on GitHub"
on:
pull_request_target:
branches:
- main
- v*
types:
- closed
jobs:
update:
runs-on: ubuntu-latest
if: |
(github.event.pull_request.merged == true) &&
!contains(github.event.pull_request.labels.*.name, 'changelog:skip')
steps:
- uses: actions/checkout@v3
- id: pipeline_context
uses: ./.github/actions/extract_pipeline_context
- uses: ruby/setup-ruby@v1
env:
BUNDLE_ONLY: "release"
with:
ruby-version: "3.2"
bundler-cache: true
- name: "Save Release Draft"
run: |
bin/release/update-release-draft \
--update \
--branch ${{ github.ref_name }} \
${{ steps.pipeline_context.outputs.current_diff_source_tag }} \
${{ steps.pipeline_context.outputs.candidate_tag }} \