Skip to content

Commit faaf875

Browse files
authored
Update sync-orama-cloud job conditions
Signed-off-by: Aviv Keller <me@aviv.sh>
1 parent 7d0af81 commit faaf875

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/sync-orama.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ jobs:
2626
name: Sync Orama Cloud
2727
runs-on: ubuntu-latest
2828

29+
# This Job should run either on non-`pull_request_target` events,
30+
# or `pull_request_target` event with a `labeled` action with a label named `github_actions:pull-request`
31+
# since we want to run Website Builds on all these occasions. As this allows us to be certain the that builds are passing
32+
if: github.event_name != 'pull_request_target' || github.event.label.name == 'github_actions:pull-request'
33+
2934
steps:
3035
- name: Git Checkout
3136
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)