mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2025-01-18 17:41:58 +01:00
Add support for .bashrc and .bash_profile
This commit is contained in:
parent
e4a40965ff
commit
43d591f972
10
.github/main.workflow
vendored
10
.github/main.workflow
vendored
@ -1,16 +1,8 @@
|
|||||||
workflow "Trigger: Push" {
|
workflow "Trigger: Push" {
|
||||||
on = "push"
|
on = "push"
|
||||||
resolves = [
|
resolves = ["Shellcheck"]
|
||||||
"Shellcheck",
|
|
||||||
"Black Code Formatter",
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
action "Shellcheck" {
|
action "Shellcheck" {
|
||||||
uses = "ludeeus/action-shellcheck@master"
|
uses = "ludeeus/action-shellcheck@master"
|
||||||
}
|
|
||||||
|
|
||||||
action "Black Code Formatter" {
|
|
||||||
uses = "lgeiger/black-action@master"
|
|
||||||
args = "$GITHUB_WORKSPACE --check"
|
|
||||||
}
|
}
|
@ -9,7 +9,7 @@ ENTRYPOINT ["/runaction.sh"]
|
|||||||
|
|
||||||
LABEL "name"="shellcheck"
|
LABEL "name"="shellcheck"
|
||||||
LABEL "maintainer"="Ludeeus <ludeeus@gmail.com>"
|
LABEL "maintainer"="Ludeeus <ludeeus@gmail.com>"
|
||||||
LABEL "version"="0.0.1"
|
LABEL "version"="0.1.0"
|
||||||
LABEL "com.github.actions.name"="shellcheck"
|
LABEL "com.github.actions.name"="shellcheck"
|
||||||
LABEL "com.github.actions.description"="Run shell check on ALL sh files in the repository."
|
LABEL "com.github.actions.description"="Run shell check on ALL sh files in the repository."
|
||||||
LABEL "com.github.actions.icon"="terminal"
|
LABEL "com.github.actions.icon"="terminal"
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd "$GITHUB_WORKSPACE" || exit 1
|
cd "$GITHUB_WORKSPACE" || exit 1
|
||||||
find . -name \*.sh -exec shellcheck {} +
|
find . -name \*.sh -exec shellcheck {} +
|
||||||
|
find . -name \*.bashrc -exec shellcheck {} +
|
||||||
|
find . -name \*.bash_profile -exec shellcheck {} +
|
Loading…
x
Reference in New Issue
Block a user