Skip to content

Commit 4dc80ba

Browse files
authored
Fix the value of DRY_RUN on push events to db-update-dev.yml (#1474)
1 parent 4adc818 commit 4dc80ba

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/db-update-dev.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
REGION: ${{ vars.MOBILITY_FEEDS_REGION }}
3030
DB_NAME: ${{ vars.DEV_POSTGRE_SQL_DB_NAME }}
3131
DB_ENVIRONMENT: ${{ vars.QA_MOBILITY_FEEDS_ENVIRONMENT }}
32-
# DRY_RUN is passed through directly from inputs
33-
DRY_RUN: ${{ inputs.DRY_RUN }}
32+
# DRY_RUN: use provided input if defined (workflow_dispatch/workflow_call); fallback to false on push events
33+
DRY_RUN: ${{ inputs.DRY_RUN || false }}
3434
secrets:
3535
DB_USER_PASSWORD: ${{ secrets.DEV_POSTGRE_USER_PASSWORD }}
3636
DB_USER_NAME: ${{ secrets.DEV_POSTGRE_USER_NAME }}
@@ -39,4 +39,3 @@ jobs:
3939
DB_GCP_MOBILITY_FEEDS_SA_KEY: ${{ secrets.QA_GCP_MOBILITY_FEEDS_SA_KEY }}
4040
# 1Password tokens
4141
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
42-

0 commit comments

Comments
 (0)