Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: ShellCheck

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
ignore_paths: ./completion.*
4 changes: 4 additions & 0 deletions git-fixup
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,13 @@ function fallback_menu() {
;;
help|h)
local fmt="%s\n %s\n"
# shellcheck disable=SC2059
printf "$fmt" "<n>" "$op the <n>-th commit from the list" >&2
# shellcheck disable=SC2059
printf "$fmt" "s[how] <n>" "show the <n>-th commit from the list" >&2
# shellcheck disable=SC2059
printf "$fmt" "q[uit]" "abort operation" >&2
# shellcheck disable=SC2059
printf "$fmt" "h[elp]" "show this help message" >&2
;;
esac
Expand Down