Skip to content

Fix: added missing workspace permission #81

Fix: added missing workspace permission

Fix: added missing workspace permission #81

Workflow file for this run

name: release
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:
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
runs-on: ubuntu-latest
steps:
- uses: nearform-actions/optic-release-automation-action@v4
with:
github-token: ${{ secrets.github_token }}
semver: ${{ github.event.inputs.semver }}
commit-message: 'chore: release {version}'
build-command: npm ci