Skip to content

Commit f4d851f

Browse files
authored
Simplify release workflow configuration
1 parent fc8ba30 commit f4d851f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/release-new-action-version.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,15 @@ name: Release new action version
22
on:
33
release:
44
types: [released]
5-
workflow_dispatch:
6-
inputs:
7-
TAG_NAME:
8-
description: 'Tag name that the major tag will point to'
9-
required: true
105

116
env:
12-
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
7+
TAG_NAME: ${{ github.event.release.tag_name }}
138
permissions:
149
contents: write
1510

1611
jobs:
1712
update_tag:
18-
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
13+
name: Update the major tag to include the ${{ github.event.release.tag_name }} changes
1914
environment:
2015
name: releaseNewActionVersion
2116
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)