# GENERATED BY ./start_release.ts -- DO NOT DIRECTLY EDIT

name: start_release
on:
  workflow_dispatch:
    inputs:
      releaseKind:
        description: Kind of release
        default: patch
        type: choice
        options:
          - patch
          - minor
          - major
        required: true
jobs:
  build:
    name: start release
    runs-on: ubuntu-24.04
    timeout-minutes: 30
    env:
      CARGO_TERM_COLOR: always
      RUST_BACKTRACE: full
      RUSTC_FORCE_INCREMENTAL: 1
    steps:
      - name: Configure git
        run: |-
          git config --global core.symlinks true
          git config --global fetch.parallel 32
      - name: Clone repository
        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
      - name: Install deno
        uses: denoland/setup-deno@667a34cdef165d8d2b2e98dde39547c9daac7282
        with:
          deno-version: v2.x
      - name: Create Gist URL
        env:
          GITHUB_TOKEN: '${{ secrets.DENOBOT_GIST_PAT }}'
          GH_WORKFLOW_ACTOR: '${{ github.actor }}'
        run: './tools/release/00_start_release.ts --${{github.event.inputs.releaseKind}}'

# gagen:pin actions/checkout@v6 = de0fac2e4500dabe0009e67214ff5f5447ce83dd
# gagen:pin denoland/setup-deno@v2 = 667a34cdef165d8d2b2e98dde39547c9daac7282
