Compare commits

..

1 commit

Author SHA1 Message Date
xin
993e93af9e Update nix-develop-gha.sh 2024-04-05 04:47:05 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- uses: cachix/install-nix-action@v25
- uses: ./
- run: actionlint
- run: shellcheck nix-develop-gha.sh

View file

@ -26,7 +26,7 @@ while IFS='=' read -r -d '' n v; do
continue
fi
if (("$(wc -l <<<"$v")" > 1)); then
delimiter=$(openssl rand -base64 18)
delimiter=BzcqNQnW6x7hfGlLbvCyDlvD
if contains "$delimiter" "$v"; then
echo "Environment variable $n contains randomly generated string $delimiter, file an issue and buy a lottery ticket."
exit 1