Skip to content

Release

Release #10

Workflow file for this run

##
# @description Release automatization
# @author C. M. de Picciotto <d3p1@d3p1.dev> (https://d3p1.dev/)
##
name: Release
on:
workflow_run:
workflows: [build]
types: [completed]
workflow_dispatch:
permissions:
contents: read
jobs:
release:
name: Dispatch release
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate release
uses: d3p1/semantic-releasify@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}