Skip to content

Commit 707ab35

Browse files
committed
build: GitHub Action allows changelog path to be overridden.
1 parent 6820cdc commit 707ab35

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

action.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
name: Extract Changelog entries for most recent version
22
description: Extracts entries from the changelog file for the most recent version and writes them to a file.
33
inputs:
4+
changelog-file:
5+
description: 'Path to the changelog file, relative to the workspace.'
6+
required: false
7+
default: 'CHANGELOG.md'
48
output-file:
59
description: 'The file to write the extracted entries to, relative to the workspace.'
610
required: true
711
runs:
812
using: 'docker'
913
image: 'Dockerfile'
10-
working-directory: /github/workspace
11-
args: [ "changelog", "extract", "--quiet", "--output-file", "/github/workspace/${{ inputs.output-file }}" ]
14+
args: [
15+
"changelog", "extract",
16+
"--quiet",
17+
"--changelog", "/github/workspace/${{ inputs.changelog-file }}",
18+
"--output-file", "/github/workspace/${{ inputs.output-file }}"
19+
]

0 commit comments

Comments
 (0)