Skip to content

Commit

Permalink
build: GitHub Action allows changelog path to be overridden.
Browse files Browse the repository at this point in the history
  • Loading branch information
outofcoffee committed Jan 11, 2025
1 parent 6820cdc commit 707ab35
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions action.yml
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 }}"
]

0 comments on commit 707ab35

Please sign in to comment.