1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/.github/workflows/release_changelog.yml

33 lines
1022 B
YAML
Raw Normal View History

name: 'Release changelog'
on:
workflow_call:
inputs:
version:
description: "Which version number should we use for the release"
type: 'string'
required: true
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: v${{ inputs.version }} # tag that should be created by the caller workflow
- name: Build changelog
id: github_release
chore(deps): update metcalfc/changelog-generator action to v4.3.1 (#6397) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [metcalfc/changelog-generator](https://togithub.com/metcalfc/changelog-generator) | action | patch | `v4.3.0` -> `v4.3.1` | --- ### Release Notes <details> <summary>metcalfc/changelog-generator (metcalfc/changelog-generator)</summary> ### [`v4.3.1`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.3.1): Minor security release 4.3.1 [Compare Source](https://togithub.com/metcalfc/changelog-generator/compare/v4.3.0...v4.3.1) - [d552ecf](http://github.com/metcalfc/changelog-generator/commit/d552ecf3366cf9d6da9fd7dbe425325d3d095aa8) - Minor ecurity release 4.3.1 - [ee3f2a2](http://github.com/metcalfc/changelog-generator/commit/ee3f2a27cf9dc399f791b0301797bf1d8bc81a84) - Merge pull request [#&#8203;234](https://togithub.com/metcalfc/changelog-generator/issues/234) from metcalfc/dependabot/npm_and_yarn/prettier-3.2.5 - [ee77638](http://github.com/metcalfc/changelog-generator/commit/ee776384fdea08e4c11dd30b7863944c2f98f65e) - Merge pull request [#&#8203;235](https://togithub.com/metcalfc/changelog-generator/issues/235) from metcalfc/dependabot/npm_and_yarn/undici-5.28.3 - [37c250d](http://github.com/metcalfc/changelog-generator/commit/37c250dc0c6c8eb20c2cac7020b07d0cf78761a6) - Bump undici from 5.26.4 to 5.28.3 - [393755e](http://github.com/metcalfc/changelog-generator/commit/393755e1084177c637b58c3dc289b698359fe75a) - Bump prettier from 3.2.4 to 3.2.5 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am every weekday" in timezone Europe/Madrid, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 04:13:20 +01:00
uses: metcalfc/changelog-generator@v4.3.1
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
base-ref: v${{ inputs.version }}
- name: Create release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ inputs.version }}
name: v${{ inputs.version }}
2022-09-09 08:51:56 +02:00
body: ${{ steps.github_release.outputs.changelog }}
prerelease: ${{ contains(inputs.version, 'beta') || contains(inputs.version, 'alpha') }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}