Skip to content

Release

Release #2

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
version:
description: 'Version (major.minor.patch)'
required: true
type: string
skip-branch-status-check:
description: 'Skip CI status check.'
default: false
required: false
type: boolean
permissions: {}
jobs:
release:
environment: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PUSH_TOKEN }} # this token works to push to the protected main branch.
- uses: actions/setup-python@v5
with:
python-version-file: .github/python-version.txt
- run: ./.github/scripts/release/ci
env:
PROJECT_VERSION: ${{ inputs.version }}
STATUS_CHECK_SKIP_GIT: ${{ inputs.skip-branch-status-check }}