mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 01:42:55 +00:00
Fix the security problem
This commit is contained in:
3
.github/workflows/cloud-regress.yml
vendored
3
.github/workflows/cloud-regress.yml
vendored
@@ -54,6 +54,7 @@ jobs:
|
||||
- name: Generate a random password
|
||||
id: pwgen
|
||||
run: |
|
||||
set +x
|
||||
DBPASS=$(dd if=/dev/random bs=48 count=1 2>/dev/null | base64)
|
||||
echo DBPASS="${DBPASS//\//}" >> "${GITHUB_OUTPUT}"
|
||||
|
||||
@@ -61,7 +62,9 @@ jobs:
|
||||
run: |
|
||||
cd /__w/neon/neon/vendor/postgres-v"${{ matrix.DEFAULT_PG_VERSION }}"/src/test/regress
|
||||
for fname in sql/*.sql expected/*.out; do
|
||||
set +x
|
||||
sed -i.bak s/NEON_PASSWORD_PLACEHOLDER/"'${{ steps.pwgen.outputs.DBPASS }}'"/ "${fname}"
|
||||
set -x
|
||||
done
|
||||
|
||||
- name: Download Neon artifact
|
||||
|
||||
Reference in New Issue
Block a user