Skip to content

Commit f3c2eb2

Browse files
committed
fix action
1 parent 24a4300 commit f3c2eb2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build-search.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ env:
1515

1616
jobs:
1717
update-search:
18-
if: |
19-
github.event_name == 'workflow_dispatch' ||
20-
github.event_name == 'schedule' ||
21-
(github.event_name == 'pull_request' && github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'update search') && github.event.pull_request.base.ref == 'main') #if: contains(github.event.pull_request.labels.*.name, 'update search') # Updated to trigger directly on PRs with the label
18+
if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'update search') && github.event.pull_request.base.ref == 'main')
2219
runs-on: ubuntu-latest
2320

2421
steps:

0 commit comments

Comments
 (0)