From 82b3b67e632db9b544f75dea7f99402179fcff8f Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Thu, 6 Jul 2023 14:03:14 -0300 Subject: [PATCH] secrets: inherit, to fix flaky tests report (#23961) --- .github/workflows/server-ci-master.yml | 1 + .github/workflows/server-ci-pr.yml | 1 + .github/workflows/server-ci-template.yml | 3 +++ 3 files changed, 5 insertions(+) diff --git a/.github/workflows/server-ci-master.yml b/.github/workflows/server-ci-master.yml index c2f73b8e51..96f58e9fda 100644 --- a/.github/workflows/server-ci-master.yml +++ b/.github/workflows/server-ci-master.yml @@ -12,3 +12,4 @@ env: jobs: master-ci: uses: ./.github/workflows/server-ci-template.yml + secrets: inherit diff --git a/.github/workflows/server-ci-pr.yml b/.github/workflows/server-ci-pr.yml index c964896ad4..82231de72d 100644 --- a/.github/workflows/server-ci-pr.yml +++ b/.github/workflows/server-ci-pr.yml @@ -19,3 +19,4 @@ concurrency: jobs: pr-ci: uses: ./.github/workflows/server-ci-template.yml + secrets: inherit diff --git a/.github/workflows/server-ci-template.yml b/.github/workflows/server-ci-template.yml index e3b6ec5d15..05a8b73303 100644 --- a/.github/workflows/server-ci-template.yml +++ b/.github/workflows/server-ci-template.yml @@ -234,6 +234,7 @@ jobs: datasource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10&binary_parameters=yes drivername: postgres logsartifact: postgres-binary-server-test-logs + secrets: inherit test-postgres-normal: name: Postgres needs: check-mattermost-vet @@ -243,6 +244,7 @@ jobs: datasource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10 drivername: postgres logsartifact: postgres-server-test-logs + secrets: inherit test-mysql: name: MySQL needs: check-mattermost-vet @@ -252,6 +254,7 @@ jobs: datasource: mmuser:mostest@tcp(mysql:3306)/mattermost_test?charset=utf8mb4,utf8&multiStatements=true&maxAllowedPacket=4194304 drivername: mysql logsartifact: mysql-server-test-logs + secrets: inherit test-mmctl: name: Run mmctl tests needs: check-mattermost-vet