build: run ShellCheck Adds a ShellCheck check to edx-platform PRs and master, using the shared workflow & template from the .github repo. This will become a "required" check once it passes for 2 straight weeks on master. Brings all existing shell scripts into compliance with ShellCheck.
5 lines
208 B
Bash
5 lines
208 B
Bash
#!/usr/bin/env zsh
|
|
# shellcheck disable=all
|
|
# ^ This is zsh, which shellcheck doesn't support.
|
|
git log --all ^opaque-keys-merge-base --format=%H $1 | while read f; do git branch --contains $f; done | sort -u
|