Skip to content

Commit c7a4af5

Browse files
committed
Update action.yaml
Signed-off-by: timflannagan <[email protected]>
1 parent 0d0b481 commit c7a4af5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

action.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: "Generate Changelog"
22
description: "Fetch merged PRs between two commits, extract ```release-note``` blocks and bucket by /kind labels"
33
inputs:
4-
github-token:
4+
token:
55
description: "GitHub token (usually ${{ secrets.GITHUB_TOKEN }})"
6-
required: true
6+
required: false
7+
default: {{ github.token }}
78
owner:
89
description: "Repo owner/org"
910
required: true
@@ -20,7 +21,7 @@ runs:
2021
using: "docker"
2122
image: "Dockerfile"
2223
args:
23-
- ${{ inputs.github-token }}
24+
- ${{ inputs.token }}
2425
- ${{ inputs.owner }}
2526
- ${{ inputs.repo }}
2627
- ${{ inputs.start-sha }}

0 commit comments

Comments
 (0)