-
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.
tiedemann/changelog action fix (#222)
- **fix: add clean parameter to checkout action** - **fix: add clean and checkout option to changelog action** supercedes #220 --------- Co-authored-by: Yannick Röder <[email protected]>
- Loading branch information
1 parent
95cf59b
commit d32d590
Showing
5 changed files
with
19 additions
and
0 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
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 |
---|---|---|
|
@@ -13,6 +13,14 @@ inputs: | |
description: Path to the changelog file in the GitHub repository | ||
required: false | ||
default: "CHANGELOG.md" | ||
checkout: | ||
description: "Whether to checkout the repository or not." | ||
required: false | ||
default: "false" | ||
clean: | ||
description: "Clean the repository before running the action." | ||
required: false | ||
default: "false" | ||
|
||
outputs: | ||
merged-changelog: | ||
|
@@ -27,8 +35,10 @@ runs: | |
steps: | ||
- name: Check out repository | ||
uses: bakdata/ci-templates/actions/[email protected] | ||
if: ${{ inputs.checkout == 'true' }} | ||
with: | ||
fetch-depth: 0 | ||
clean: ${{ inputs.clean }} | ||
- name: Get config path | ||
id: get-config-path | ||
run: | | ||
|
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
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
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