Skip to content

3.0.12

3.0.12 #24

Workflow file for this run

name: Generate Release Draft
on:
pull_request:
types:
- closed
branches:
- main
jobs:
generate_release_draft:
runs-on: ubuntu-latest
if: >
github.event.pull_request.merged == true &&
github.event.pull_request.base.ref == 'main' &&
github.event.pull_request.title =~ '^v(\d+\.\d+\.\d+)$'
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Generate Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.event.pull_request.title }}
name: 🌟${{ github.event.pull_request.title }}
body: ${{ github.event.pull_request.body }}
draft: false
prerelease: false
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}