Skip to content

Commit

Permalink
fix: db deployer better check for pr handle (#2138)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishraomp authored Oct 25, 2024
1 parent fd8a583 commit a1ed46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/.dbdeployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- name: Add PR specific user to Crunchy DB # only for PRs
shell: bash
if: ${{ github.event.inputs.environment }} == ''
if: github.event_name == 'pull_request'
run: |
echo 'Adding PR specific user to Crunchy DB'
NEW_USER='{"databases":["app-${{ github.event.number }}"],"name":"app-${{ github.event.number }}"}'
Expand Down

0 comments on commit a1ed46a

Please sign in to comment.