Skip to content

Create release PR

Create release PR #1

Workflow file for this run

name: Create release PR
on:
workflow_dispatch:
branches:
- main
jobs:
release-notes:
name: Build Changelog
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
show-progress: false
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install
run: |
npm ci --no-audit
echo "FROM_TAG=$(git merge-base --fork-point origin/main)" >> $GITHUB_ENV
- name: Build Changelog
id: github_release
uses: mikepenz/[email protected]
with:
fromTag: ${{ env.FROM_TAG }}
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Changelog
run: echo "${{ steps.github_release.outputs.changelog }}"