1
0
Fork 0
mirror of https://github.com/ludeeus/action-shellcheck.git synced 2024-08-16 10:09:53 +02:00

Add support for .bashrc and .bash_profile

This commit is contained in:
ludeeus 2019-03-14 18:15:36 +01:00
parent e4a40965ff
commit 43d591f972
3 changed files with 5 additions and 11 deletions

10
.github/main.workflow vendored
View file

@ -1,16 +1,8 @@
workflow "Trigger: Push" {
on = "push"
resolves = [
"Shellcheck",
"Black Code Formatter",
]
resolves = ["Shellcheck"]
}
action "Shellcheck" {
uses = "ludeeus/action-shellcheck@master"
}
action "Black Code Formatter" {
uses = "lgeiger/black-action@master"
args = "$GITHUB_WORKSPACE --check"
}

View file

@ -9,7 +9,7 @@ ENTRYPOINT ["/runaction.sh"]
LABEL "name"="shellcheck"
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.description"="Run shell check on ALL sh files in the repository."
LABEL "com.github.actions.icon"="terminal"

View file

@ -1,4 +1,6 @@
#!/bin/bash
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 {} +