27 lines
715 B
YAML
27 lines
715 B
YAML
name: 'Draft release'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
version_strategy:
|
|
description: 'Version strategy: The strategy to used to update the version based on semantic versioning (more info at https://semver.org/).'
|
|
required: true
|
|
default: 'patch'
|
|
type: 'choice'
|
|
options:
|
|
- 'major'
|
|
- 'minor'
|
|
- 'patch'
|
|
|
|
permissions:
|
|
contents: 'read'
|
|
pull-requests: 'write'
|
|
|
|
jobs:
|
|
draft-release:
|
|
uses: 'google-github-actions/.github/.github/workflows/draft-release.yml@v3' # ratchet:exclude
|
|
with:
|
|
version_strategy: '${{ github.event.inputs.version_strategy }}'
|
|
secrets:
|
|
ACTIONS_BOT_TOKEN: '${{ secrets.ACTIONS_BOT_TOKEN }}'
|