Skip to content

Commit 721a8b1

Browse files
authored
revert: dispatch (#355)
1 parent c7b0dca commit 721a8b1

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,6 @@ name: Release
33
"on":
44
push:
55
branches: ["main", "master", "release/**"]
6-
workflow_dispatch:
7-
inputs:
8-
release_force:
9-
# see https://python-semantic-release.readthedocs.io/en/latest/github-action.html#command-line-options
10-
description: |
11-
Force release be one of: [major | minor | patch]
12-
Leave empty for auto-detect based on commit messages.
13-
type: choice
14-
options:
15-
- "" # auto - no force
16-
- major # force major
17-
- minor # force minor
18-
- patch # force patch
19-
default: ""
20-
required: false
21-
prerelease_token:
22-
description: 'The "prerelease identifier" to use as a prefix for the "prerelease" part of a semver. Like the rc in `1.2.0-rc.8`.'
23-
type: choice
24-
options:
25-
- rc
26-
- beta
27-
- alpha
28-
default: rc
29-
required: false
30-
prerelease:
31-
description: "Is a pre-release"
32-
type: boolean
33-
default: false
34-
required: false
356

367
concurrency:
378
group: deploy
@@ -90,9 +61,6 @@ jobs:
9061
uses: python-semantic-release/python-semantic-release@v8.3.0
9162
with:
9263
github_token: ${{ secrets.GITHUB_TOKEN }}
93-
force: ${{ github.event.inputs.release_force }}
94-
prerelease: ${{ github.event.inputs.prerelease }}
95-
prerelease_token: ${{ github.event.inputs.prerelease_token }}
9664

9765
- name: Publish package distributions to GitHub Releases
9866
if: steps.release.outputs.released == 'true'

0 commit comments

Comments
 (0)