Use menu items for subitems too #337
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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_GEMFILE: "dev_tools/Gemfile" | |
with: | |
ruby-version: "3.1" | |
bundler-cache: true | |
- name: "Save Release Draft" | |
run: | | |
cd dev_tools/ && bin/update-release-draft \ | |
${{ github.token }} \ | |
${{ github.repository }} \ | |
${{ steps.pipeline_context.outputs.current_diff_source_tag }} \ | |
${{ steps.pipeline_context.outputs.candidate_tag }} \ | |
${{ github.ref_name }} \ | |
${{ github.event.number }} |