-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add parameter to set puppet or pe version for validation run
- Loading branch information
1 parent
a45ce05
commit 31b5407
Showing
3 changed files
with
30 additions
and
7 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 |
---|---|---|
@@ -1,9 +1,19 @@ | ||
--- | ||
name: action-pdk-validate | ||
description: Runs `pdk validate` on your puppet module code | ||
inputs: | ||
puppet-version: | ||
description: A string indicating the Puppet version to validate against, such as "5.4.2" or "5.5". | ||
required: false | ||
pe-version: | ||
description: A string indicating the PE version to validate against, such as "2017.3.5" or "2018.1". | ||
required: false | ||
branding: | ||
icon: check-square | ||
color: orange | ||
runs: | ||
using: docker | ||
image: Dockerfile | ||
env: | ||
PUPPET_VERSION: ${{ inputs.puppet-version }} | ||
PE_VERSION: ${{ inputs.pe-version }} |
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