-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: GitHub Action allows changelog path to be overridden.
- Loading branch information
1 parent
6820cdc
commit 707ab35
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
name: Extract Changelog entries for most recent version | ||
description: Extracts entries from the changelog file for the most recent version and writes them to a file. | ||
inputs: | ||
changelog-file: | ||
description: 'Path to the changelog file, relative to the workspace.' | ||
required: false | ||
default: 'CHANGELOG.md' | ||
output-file: | ||
description: 'The file to write the extracted entries to, relative to the workspace.' | ||
required: true | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
working-directory: /github/workspace | ||
args: [ "changelog", "extract", "--quiet", "--output-file", "/github/workspace/${{ inputs.output-file }}" ] | ||
args: [ | ||
"changelog", "extract", | ||
"--quiet", | ||
"--changelog", "/github/workspace/${{ inputs.changelog-file }}", | ||
"--output-file", "/github/workspace/${{ inputs.output-file }}" | ||
] |