mirror of
https://github.com/ludeeus/action-shellcheck.git
synced 2025-09-16 21:26:27 +02:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
43d591f972 |
10
.github/main.workflow
vendored
10
.github/main.workflow
vendored
@@ -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"
|
||||
}
|
@@ -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"
|
||||
|
@@ -2,3 +2,5 @@
|
||||
|
||||
cd "$GITHUB_WORKSPACE" || exit 1
|
||||
find . -name \*.sh -exec shellcheck {} +
|
||||
find . -name \*.bashrc -exec shellcheck {} +
|
||||
find . -name \*.bash_profile -exec shellcheck {} +
|
Reference in New Issue
Block a user