From 7c681603d7698145af617f0bb08e668a241c249e Mon Sep 17 00:00:00 2001 From: Sung Won Chung Date: Wed, 14 Feb 2024 11:38:43 -0800 Subject: [PATCH] fix pr schema number --- .github/workflows/dbt_staging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dbt_staging.yml b/.github/workflows/dbt_staging.yml index 91af462..27e98ff 100644 --- a/.github/workflows/dbt_staging.yml +++ b/.github/workflows/dbt_staging.yml @@ -53,7 +53,7 @@ jobs: SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }} SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} SNOWFLAKE_ROLE: ${{ secrets.SNOWFLAKE_ROLE }} - SNOWFLAKE_SCHEMA: "${{ format('{0}_{1}', 'PR_NUM', steps.findPr.outputs.pr) }}" + SNOWFLAKE_SCHEMA: "${{ format('{0}_{1}', 'PR_NUM', github.event.pull_request.number) }}" # TODO: comment this step out if you don't have Datafold Cloud yet # TODO: replace --ci-config-id 345 with your unique datafold ci config id