Skip to content

build(deps): pre-commit autoupdate (#32) #18

build(deps): pre-commit autoupdate (#32)

build(deps): pre-commit autoupdate (#32) #18

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
release:
if: ${{ startsWith(github.event.head_commit.message, 'bump:') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.COATL_BOT_GH_TOKEN }}
- id: tag
run: |
echo "tag=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
- run: |
gh release create "$TAG" \
--title "$TAG" \
--generate-notes
env:
TAG: ${{ steps.tag.outputs.tag }}
GITHUB_TOKEN: ${{ secrets.COATL_BOT_GH_TOKEN }}