Skip to content

TOC Bump

TOC Bump #8

Workflow file for this run

name: TOC Bump
on:
workflow_dispatch:
inputs:
message:
description: 'Commit message'
required: false
default: 'TOC Bump'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get next version
uses: reecetech/[email protected]
id: version
with:
scheme: semver
increment: patch
- name: Create & push empty commit
run: |
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
git commit --allow-empty -m "${{ github.event.inputs.message }}"
git push
- name: Publish release
uses: softprops/action-gh-release@v1
with:
# this cannot be ${{ secrets.GITHUB_TOKEN }} because that'll block the on release publish workflow from running
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
name: ${{ steps.version.outputs.v-version }}
tag_name: ${{ steps.version.outputs.v-version }}