Skip to content

Update renovatebot/github-action action to v41 (#1446) #283

Update renovatebot/github-action action to v41 (#1446)

Update renovatebot/github-action action to v41 (#1446) #283

name: Draft release notes
on:
push:
tags:
- '*'
branches:
- develop
permissions:
contents: write
jobs:
release-drafter:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Generate CalVer version
if: vars.VORTEX_RELEASE_VERSION_SCHEME == 'calver'
id: calver
run: |
export VERSION="$(date "+%y.%-m").0"
echo "version=${VERSION}" >> "${GITHUB_OUTPUT}"
echo "Version set to ${VERSION}"
- name: Draft release notes
uses: release-drafter/release-drafter@v6
with:
tag: ${{ steps.calver.outputs.version }}
name: ${{ steps.calver.outputs.version }}
version: ${{ steps.calver.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}