Skip to content

Commit f2e83e0

Browse files
authored
fix: Fix validation (#24)
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
1 parent 79a1b6b commit f2e83e0

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ permissions: read-all
1717
jobs:
1818
workflow:
1919
name: Workflow
20-
uses: LexisNexis-RBA/risk-gh-action-generic-workflows/.github/workflows/validate-gh-action.yaml@b74b1c402e46e3f71ee35aa0a577471cbe772b2e # v0.5.2
20+
uses: action-stars/generic-workflows/.github/workflows/validate-gh-workflows.yaml@c2a066bdade42e69baf710d589ade9056d0615d0 # v0.5.2
2121
with:
2222
auto_doc: true
2323
markdownlint: true

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Installs a tool from a GitHub repository release.
1414

1515
| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
1616
|-------------------------|--------|----------|----------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|
17-
| alias | string | false | | Alias a tool after it is installed; <target>=<alias>. |
17+
| alias | string | false | | Alias a tool after it is installed; `<target>=<alias>`. |
1818
| arch_amd64 | string | false | `"amd64"` | Architecture string for AMD64. This can be used in the filename format as {arch}. |
1919
| arch_arm64 | string | false | `"arm64"` | Architecture string for ARM64. This can be used in the filename format as {arch}. |
2020
| check_command | string | false | | Command to test if the tool was installed correctly. |
@@ -32,7 +32,7 @@ Installs a tool from a GitHub repository release.
3232
| os_macos | string | false | `"macos"` | OS name when the platform is macOS. This can be used in the filename format as {os}. |
3333
| os_windows | string | false | `"windows"` | OS name when the platform is Windows. This can be used in the filename format as {os}. |
3434
| owner | string | true | | GitHub repository owner. |
35-
| rename | string | false | | Rename a tool after it is installed; <before>=<after>. |
35+
| rename | string | false | | Rename a tool after it is installed; `<before>=<after>`. |
3636
| repository | string | true | | GitHub repository. |
3737
| subdirectory | string | false | | Subdirectory within the archive to find the executable(s). |
3838
| tag_prefix | string | false | `"v"` | Version tag prefix. |

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ inputs:
7373
description: Filename format to use when the platform is Windows.
7474
required: false
7575
rename:
76-
description: Rename a tool after it is installed; <before>=<after>.
76+
description: Rename a tool after it is installed; `<before>=<after>`.
7777
required: false
7878
alias:
79-
description: Alias a tool after it is installed; <target>=<alias>.
79+
description: Alias a tool after it is installed; `<target>=<alias>`.
8080
required: false
8181
check_command:
8282
description: Command to test if the tool was installed correctly.

justfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ actionlint:
77
actionlint -shellcheck=shellcheck
88

99
markdownlint:
10-
npm exec markdownlint-cli2 --yes -- --fix "*.{md,markdown}"
10+
npm exec --yes -- markdownlint-cli2 --fix "**/*.{md,markdown}"
1111

1212
shellcheck:
1313
{{ if os_family() == "windows" { "Get-ChildItem -Recurse -File | Where-Object { $_.Extension -eq '.sh' } | ForEach-Object { & shellcheck $_.FullName }" } else { "find . -type f -name '*.sh' | xargs --no-run-if-empty -n1 shellcheck" } }}
@@ -16,4 +16,4 @@ yamlfmt:
1616
yamlfmt -continue_on_error
1717

1818
docs:
19-
auto-doc --colMaxWords 100 --repository lexisnexis-rba/rish-gh-action-setup-tf --filename action.yml
19+
auto-doc --colMaxWords 100 --repository action-stars/install-tool-from-github-release --filename action.yml

0 commit comments

Comments
 (0)