From e7e80944e9355c4454822e4305d9e137e56eb43b Mon Sep 17 00:00:00 2001 From: Pedro De Castro <1519428+snaow@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:57:51 +0100 Subject: [PATCH] chore: Github Actions. Naming and API env variables --- .github/workflows/api-pull-request.yml | 4 +++- .github/workflows/build-lint-push-containers.yml | 2 +- .github/workflows/find-secrets.yml | 2 +- .github/workflows/pypi-release.yml | 2 +- .github/workflows/ui-checks.yml | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/api-pull-request.yml b/.github/workflows/api-pull-request.yml index 4ccf0a0db4..502674d132 100644 --- a/.github/workflows/api-pull-request.yml +++ b/.github/workflows/api-pull-request.yml @@ -16,9 +16,11 @@ on: env: POSTGRES_HOST: localhost POSTGRES_PORT: 5432 + POSTGRES_ADMIN_USER: prowler_admin + POSTGRES_ADMIN_PASSWORD: postgres POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres - POSTGRES_DB: prowler_db_test + POSTGRES_DB: prowler_db VALKEY_HOST: localhost VALKEY_PORT: 6379 VALKEY_DB: 0 diff --git a/.github/workflows/build-lint-push-containers.yml b/.github/workflows/build-lint-push-containers.yml index 005f005a8a..cd9872ff52 100644 --- a/.github/workflows/build-lint-push-containers.yml +++ b/.github/workflows/build-lint-push-containers.yml @@ -1,4 +1,4 @@ -name: build-lint-push-containers +name: Build and Push containers on: push: diff --git a/.github/workflows/find-secrets.yml b/.github/workflows/find-secrets.yml index dbc24d7cf1..178300cf1a 100644 --- a/.github/workflows/find-secrets.yml +++ b/.github/workflows/find-secrets.yml @@ -1,4 +1,4 @@ -name: find-secrets +name: Find secrets on: pull_request diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index bf57beaedf..cda4986493 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -1,4 +1,4 @@ -name: pypi-release +name: PyPI release on: release: diff --git a/.github/workflows/ui-checks.yml b/.github/workflows/ui-checks.yml index ca7e266a07..93e74ffef2 100644 --- a/.github/workflows/ui-checks.yml +++ b/.github/workflows/ui-checks.yml @@ -1,4 +1,4 @@ -name: "UI/CI - Code Quality and Health Check" +name: "UI - Pull Request" on: pull_request: