Skip to content

Commit c94c58e

Browse files
chore: allow workflow to trigger on push to main (#411)
1 parent e85fe91 commit c94c58e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/accuracy-tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616
permissions:
1717
contents: read
1818
pull-requests: write
19-
if: |
20-
github.event_name == 'workflow_dispatch' ||
21-
(github.event_name == 'pull_request' && github.event.label.name == 'accuracy-tests')
19+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'accuracy-tests')
2220
env:
2321
MDB_OPEN_AI_API_KEY: ${{ secrets.ACCURACY_OPEN_AI_API_KEY }}
2422
MDB_GEMINI_API_KEY: ${{ secrets.ACCURACY_GEMINI_API_KEY }}

0 commit comments

Comments
 (0)