mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 00:45:36 +03:00
Adds some more package managers to https://github.com/ossf/scorecard/issues/33 Co-authored-by: Naveen <172697+naveensrinivasan@users.noreply.github.com>
13 lines
222 B
Bash
Executable File
13 lines
222 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
STATUS=$(git status --porcelain)
|
|
if [[ -z $STATUS ]]; then
|
|
echo tree is clean
|
|
else
|
|
echo tree is dirty, please commit all changes
|
|
echo "$STATUS"
|
|
git diff
|
|
exit 1
|
|
fi
|