mirror of
https://github.com/dockur/windows.git
synced 2025-11-05 06:29:03 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1a6a2dbad0 | ||
|
|
11a19f6a9d |
12
.github/workflows/review.yml
vendored
12
.github/workflows/review.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
|||||||
*.md
|
*.md
|
||||||
*.sh
|
*.sh
|
||||||
reporter: github-pr-review
|
reporter: github-pr-review
|
||||||
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: Hadolint
|
name: Hadolint
|
||||||
uses: reviewdog/action-hadolint@v1
|
uses: reviewdog/action-hadolint@v1
|
||||||
@ -34,28 +34,28 @@ jobs:
|
|||||||
level: warning
|
level: warning
|
||||||
reporter: github-pr-review
|
reporter: github-pr-review
|
||||||
hadolint_ignore: DL3006 DL3008
|
hadolint_ignore: DL3006 DL3008
|
||||||
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: YamlLint
|
name: YamlLint
|
||||||
uses: reviewdog/action-yamllint@v1
|
uses: reviewdog/action-yamllint@v1
|
||||||
with:
|
with:
|
||||||
level: warning
|
level: warning
|
||||||
reporter: github-pr-review
|
reporter: github-pr-review
|
||||||
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: ActionLint
|
name: ActionLint
|
||||||
uses: reviewdog/action-actionlint@v1
|
uses: reviewdog/action-actionlint@v1
|
||||||
with:
|
with:
|
||||||
level: warning
|
level: warning
|
||||||
reporter: github-pr-review
|
reporter: github-pr-review
|
||||||
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: Shellformat
|
name: Shellformat
|
||||||
uses: reviewdog/action-shfmt@v1
|
uses: reviewdog/action-shfmt@v1
|
||||||
with:
|
with:
|
||||||
level: warning
|
level: warning
|
||||||
shfmt_flags: "-i 2 -ci -bn"
|
shfmt_flags: "-i 2 -ci -bn"
|
||||||
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
-
|
-
|
||||||
name: Shellcheck
|
name: Shellcheck
|
||||||
uses: reviewdog/action-shellcheck@v1
|
uses: reviewdog/action-shellcheck@v1
|
||||||
@ -63,4 +63,4 @@ jobs:
|
|||||||
level: warning
|
level: warning
|
||||||
reporter: github-pr-review
|
reporter: github-pr-review
|
||||||
shellcheck_flags: -x -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
|
shellcheck_flags: -x -e SC1091 -e SC2001 -e SC2002 -e SC2034 -e SC2064 -e SC2153 -e SC2317 -e SC2028
|
||||||
github_token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@ -135,7 +135,6 @@ startInstall() {
|
|||||||
if [[ "${VERSION,,}" == "http"* ]]; then
|
if [[ "${VERSION,,}" == "http"* ]]; then
|
||||||
|
|
||||||
file=$(basename "${VERSION%%\?*}")
|
file=$(basename "${VERSION%%\?*}")
|
||||||
file="${file//+/ }"
|
|
||||||
printf -v file '%b' "${file//%/\\x}"
|
printf -v file '%b' "${file//%/\\x}"
|
||||||
file="${file//[!A-Za-z0-9._-]/_}"
|
file="${file//[!A-Za-z0-9._-]/_}"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user