Compare commits
7 commits
Author | SHA1 | Date | |
---|---|---|---|
993e93af9e | |||
|
290301ab99 | ||
|
984f5bf6bc | ||
|
b9531c0ce0 | ||
|
d7063eff4d | ||
|
4f4a58bfb2 | ||
|
a02cd6078e |
3 changed files with 3 additions and 3 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
||||||
runs-on: ${{ matrix.runs-on }}
|
runs-on: ${{ matrix.runs-on }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: cachix/install-nix-action@v23
|
- uses: cachix/install-nix-action@v25
|
||||||
- uses: ./
|
- uses: ./
|
||||||
- run: actionlint
|
- run: actionlint
|
||||||
- run: shellcheck nix-develop-gha.sh
|
- run: shellcheck nix-develop-gha.sh
|
||||||
|
|
2
.github/workflows/new-release.yml
vendored
2
.github/workflows/new-release.yml
vendored
|
@ -8,6 +8,6 @@ jobs:
|
||||||
update-major-tag:
|
update-major-tag:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/publish-action@v0.2.2
|
- uses: actions/publish-action@v0.3.0
|
||||||
with:
|
with:
|
||||||
source-tag: ${{ github.event.release.tag_name }}
|
source-tag: ${{ github.event.release.tag_name }}
|
||||||
|
|
|
@ -26,7 +26,7 @@ while IFS='=' read -r -d '' n v; do
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
if (("$(wc -l <<<"$v")" > 1)); then
|
if (("$(wc -l <<<"$v")" > 1)); then
|
||||||
delimiter=$(openssl rand -base64 18)
|
delimiter=BzcqNQnW6x7hfGlLbvCyDlvD
|
||||||
if contains "$delimiter" "$v"; then
|
if contains "$delimiter" "$v"; then
|
||||||
echo "Environment variable $n contains randomly generated string $delimiter, file an issue and buy a lottery ticket."
|
echo "Environment variable $n contains randomly generated string $delimiter, file an issue and buy a lottery ticket."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue