Skip to content

Commit ea8b9a7

Browse files
authored
ci: skip preflight tests for dependabot PRs (#4791)
1 parent 62f1a22 commit ea8b9a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
preflight:
4040
# Only run preflight on master pushes, scheduled runs, or pull requests
41-
if: ${{ github.event_name == 'schedule' || github.ref == 'refs/heads/master' || github.event_name == 'pull_request' }}
41+
if: ${{ (github.event_name == 'schedule' || github.ref == 'refs/heads/master' || github.event_name == 'pull_request') && github.actor != 'dependabot[bot]' }}
4242
needs: test_build
4343
uses: ./.github/workflows/preflight.yml
4444
secrets: inherit

0 commit comments

Comments
 (0)