Skip to content

Commit 796e767

Browse files
authored
ci: update version-n-changelog action & input (#4258)
1 parent bed4931 commit 796e767

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/make-version.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
release-type:
77
description: 'Release type (major, minor, patch)'
88
required: false
9+
type: choice
10+
options:
11+
- major
12+
- minor
13+
- patch
914

1015
permissions:
1116
contents: read
@@ -34,13 +39,13 @@ jobs:
3439
node-version: ${{ env.NODE_VERSION }}
3540
cache: "npm"
3641
- name: Setup dependencies
37-
uses: aws-powertools/actions/.github/actions/cached-node-modules@da5bcb1a3d22f87bc48b570c818d26f44c0fc960 # v1.3.0
42+
uses: aws-powertools/actions/.github/actions/cached-node-modules@743fa57a003787b157991ea5c6e3cf0d40468676 # v1.4.0
3843
with:
3944
node-version: ${{ env.NODE_VERSION }}
4045
build: "false"
4146
- name: Version and changelog
4247
id: version-n-changelog
43-
uses: aws-powertools/actions/.github/actions/version-n-changelog@da5bcb1a3d22f87bc48b570c818d26f44c0fc960 # v1.3.0
48+
uses: aws-powertools/actions/.github/actions/version-n-changelog@743fa57a003787b157991ea5c6e3cf0d40468676 # v1.4.0
4449
with:
4550
release-type: ${{ github.event.inputs.release-type }}
4651
- name: Update user agent version
@@ -50,7 +55,7 @@ jobs:
5055
run: git add .
5156
- name: Create PR
5257
id: create-pr
53-
uses: aws-powertools/actions/.github/actions/create-pr@da5bcb1a3d22f87bc48b570c818d26f44c0fc960 # v1.3.0
58+
uses: aws-powertools/actions/.github/actions/create-pr@743fa57a003787b157991ea5c6e3cf0d40468676 # v1.4.0
5459
with:
5560
temp_branch_prefix: "ci-bump"
5661
pull_request_title: "chore(ci): bump version to ${{ steps.version-n-changelog.outputs.new-version }}"

0 commit comments

Comments
 (0)