1
0
Fork 0
mirror of https://github.com/ludeeus/action-shellcheck.git synced 2024-08-16 10:09:53 +02:00
Find a file
Martin Kealey 9445381284
apply to all Bash, Ksh, Zsh & POSIX Shell files
Does not need bash to run; standard posix sh suffices.

Apply shellcheck to:

* files with shbang lines that indicate a shell (sh, bash, ash, bsh, ksh, zsh)

* typical home directory shell startup files:
  for posix sh & all shells: .profile
  for bash: .bashrc, .bash_aliases, .bash_completion, .bash_login, .bash_logout, .bash_profile
  for ksh: .profile
  for zsh: .zprofile, .zlogin, .zlogout, .zshenv, .zshrc

* typical system-wide shell startup files:
  for posix sh & all shells: /etc/profile
  for bash: /etc/bashrc, /etc/bash_profile
  for ksh:
  for zsh: /etc/zprofile, /etc/zlogin, /etc/zlogout, /etc/zshenv, /etc/zshrc

* files with suffixes: .bash, .zsh, .ksh, & .sh
2019-11-20 16:45:19 +11:00
.github Add support for .bashrc and .bash_profile 2019-03-14 18:15:36 +01:00
Dockerfile Add support for .bashrc and .bash_profile 2019-03-14 18:15:36 +01:00
LICENSE Create LICENSE 2019-03-09 11:25:33 +01:00
README.md init 2019-03-09 11:25:14 +01:00
runaction.sh apply to all Bash, Ksh, Zsh & POSIX Shell files 2019-11-20 16:45:19 +11:00

SHELLCHECK

BuyMeCoffee

Run shellcheck on ALL sh files in the repository.

Example

workflow "Shellcheck" {
  on = "push"
  resolves = [
    "Shellcheck",
  ]
}


action "Shellcheck" {
  uses = "ludeeus/actions/shellcheck@master"
}