Prepare Release #139
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: Prepare Release | |
on: | |
workflow_dispatch: | |
inputs: | |
branch: | |
description: 'the branch to prepare the release against' | |
required: true | |
default: 'main' | |
tag: | |
description: 'the tag to be released' | |
required: true | |
jobs: | |
prepare: | |
name: Prepare Release | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.inputs.branch }} | |
fetch-depth: 0 | |
- name: Changelog | |
run: | | |
git fetch --tags origin refs/notes/changelog:refs/notes/changelog | |
.github/scripts/changelog-update "${{ github.event.inputs.tag }}" | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
title: "${{ github.event.inputs.tag }} Changelog Bump" | |
body: "This is an automated changelog commit." | |
commit-message: "chore: ${{ github.event.inputs.tag }} changelog bump" | |
branch: "ready-${{ github.event.inputs.tag }}" | |
signoff: true | |
delete-branch: true |