Skip to content

Release Action

Release Action #31

Workflow file for this run

name: Release Action
on:
workflow_dispatch:
inputs:
semver:
description: 'The semver to use'
required: true
default: 'patch'
type: choice
options:
- patch
- minor
- major
pull_request:
types: [closed]
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- uses: nearform/optic-release-automation-action@v4
with:
semver: ${{ github.event.inputs.semver }}
sync-semver-tags: 'true'