Skip to content

Commit 8d75787

Browse files
committed
fix(internal): 💚 Fix db branching jobs being skipped due to event name change
1 parent 85e6b0d commit 8d75787

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/workflows/turso_branching.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
name: Ensure the DB branch exists and is up to date
5353
needs: setup
5454
if: |
55-
github.event_name == 'pull_request' && (
55+
github.event_name == 'pull_request_target' && (
5656
github.event.action == 'synchronize'
5757
|| github.event.action == 'opened'
5858
|| github.event.action == 'reopened')
@@ -98,7 +98,7 @@ jobs:
9898
name: Delete DB branch and migrate prod
9999
needs: setup
100100
if: |
101-
github.event_name == 'pull_request' &&
101+
github.event_name == 'pull_request_target' &&
102102
github.event.action == 'closed'
103103
runs-on: ubuntu-latest
104104
steps:

0 commit comments

Comments
 (0)