Skip to content

Commit ef625f3

Browse files
committed
ci: fix bump workflow
ref: #1 actions/python/#11
1 parent ee77667 commit ef625f3

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

.gitea/workflows/bump.yaml

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,19 @@ name: 'Bump'
44

55

66
on:
7-
workflow_call:
7+
workflow_dispatch:
88
inputs:
99
CZ_PRE_RELEASE:
1010
default: none
1111
required: false
1212
description: Create Pre-Release {alpha,beta,rc,none}
13-
type: string
1413
CZ_INCREMENT:
1514
default: none
1615
required: false
17-
description: Type of increment to conduct {MAJOR,MINOR,PATCH,none}
18-
type: string
19-
secrets:
20-
WORKFLOW_TOKEN:
21-
description: Token used to create the tag (required to trigger 'tag' workflow)
22-
required: true
16+
description: Type of bump to conduct {MAJOR,MINOR,PATCH,none}
17+
push:
18+
branches:
19+
- 'master'
2320

2421

2522
jobs:
@@ -126,12 +123,12 @@ jobs:
126123
cz changelog --unreleased-version "${{ steps.version-new.outputs.value-out }}"
127124
128125
129-
- name: Upload Release Changelog
130-
if: ${{ steps.version-new.outputs.value-out }}
131-
uses: actions/upload-artifact@v4
132-
with:
133-
name: changelog-release
134-
path: changelog-release.md
126+
# - name: Upload Release Changelog
127+
# if: ${{ steps.version-new.outputs.value-out }}
128+
# uses: actions/upload-artifact@v4
129+
# with:
130+
# name: changelog-release
131+
# path: changelog-release.md
135132

136133

137134
- name: Create Release Changelog

0 commit comments

Comments
 (0)