Skip to content

Commit 65e7b0f

Browse files
authored
ci: bump version-n-release GitHub Action and modify input values (#4330)
1 parent 17845d0 commit 65e7b0f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/make-version.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ on:
44
workflow_dispatch:
55
inputs:
66
release-type:
7-
description: 'Release type (major, minor, patch)'
7+
description: 'Release type, if auto it will be determined by the changes since the last tag'
88
required: false
99
type: choice
1010
options:
11+
- auto
1112
- major
1213
- minor
1314
- patch
@@ -39,13 +40,13 @@ jobs:
3940
node-version: ${{ env.NODE_VERSION }}
4041
cache: "npm"
4142
- name: Setup dependencies
42-
uses: aws-powertools/actions/.github/actions/cached-node-modules@743fa57a003787b157991ea5c6e3cf0d40468676 # v1.4.0
43+
uses: aws-powertools/actions/.github/actions/cached-node-modules@3b5b8e2e58b7af07994be982e83584a94e8c76c5 # v1.5.0
4344
with:
4445
node-version: ${{ env.NODE_VERSION }}
4546
build: "false"
4647
- name: Version and changelog
4748
id: version-n-changelog
48-
uses: aws-powertools/actions/.github/actions/version-n-changelog@743fa57a003787b157991ea5c6e3cf0d40468676 # v1.4.0
49+
uses: aws-powertools/actions/.github/actions/version-n-changelog@3b5b8e2e58b7af07994be982e83584a94e8c76c5 # v1.5.0
4950
with:
5051
release-type: ${{ github.event.inputs.release-type }}
5152
- name: Update user agent version
@@ -55,7 +56,7 @@ jobs:
5556
run: git add .
5657
- name: Create PR
5758
id: create-pr
58-
uses: aws-powertools/actions/.github/actions/create-pr@743fa57a003787b157991ea5c6e3cf0d40468676 # v1.4.0
59+
uses: aws-powertools/actions/.github/actions/create-pr@3b5b8e2e58b7af07994be982e83584a94e8c76c5 # v1.5.0
5960
with:
6061
temp_branch_prefix: "ci-bump"
6162
pull_request_title: "chore(ci): bump version to ${{ steps.version-n-changelog.outputs.new-version }}"

0 commit comments

Comments
 (0)