Skip to content

Upgrade to Grace Profile: Starter 2023.1.0-RC1 #830

Upgrade to Grace Profile: Starter 2023.1.0-RC1

Upgrade to Grace Profile: Starter 2023.1.0-RC1 #830

Workflow file for this run

name: Grace Changelog
on:
issues:
types: [closed,reopened]
push:
branches:
- master
- '[2020-2024]+.[0-9]+.x'
workflow_dispatch:
jobs:
release_notes:
if: ${{ github.repository == 'graceframework/grace-framework' }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Check if it has release drafter config file
id: check_release_drafter
run: |
has_release_drafter=$([ -f .github/release-drafter.yml ] && echo "true" || echo "false")
echo ::set-output name=has_release_drafter::${has_release_drafter}
- name: Extract branch name
id: extract_branch
run: echo ::set-output name=value::${GITHUB_REF:11}
# If it has release drafter:
- uses: release-drafter/release-drafter@v6
if: steps.check_release_drafter.outputs.has_release_drafter == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commitish: ${{ steps.extract_branch.outputs.value }}