[PATCH 4/4] ci: randomize database credentials a bit

You-Sheng Yang vicamo at gmail.com
Tue Dec 7 19:49:16 AEDT 2021


Signed-off-by: You-Sheng Yang <vicamo at gmail.com>
---
 .github/workflows/ci.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 9edec88..7baab1f 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -26,10 +26,10 @@ jobs:
         python: [3.6, 3.7, 3.8, 3.9]
         db: [postgres, mysql, sqlite3]
     env:
-      DATABASE_NAME: patchwork
-      DATABASE_USER: patchwork
-      DATABASE_PASS: patchwork
-      MYSQL_ROOT_PASSWORD: root
+      DATABASE_NAME: patchwork-db-${{ github.run_id }}
+      DATABASE_USER: patchwork-user-${{ github.run_id }}
+      DATABASE_PASS: password-${{ github.run_id }}
+      MYSQL_ROOT_PASSWORD: root-${{ github.run_id }}
     services:
       postgres:
         image: postgres:latest
-- 
2.32.0



More information about the Patchwork mailing list