ci: Don't allow dependabot to run Unity CI

pull/607/head
Ikiru Yoshizaki 2024-07-30 17:01:09 +09:00
parent e52663cef6
commit 11b3282b3d
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ jobs:
- run: dotnet test -c Debug
build-unity:
if: ${{ (github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:') }}
if: ${{ (github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:') || github.triggering_actor == 'dependabot[bot]' }}
strategy:
fail-fast: false
matrix:
@ -67,7 +67,7 @@ jobs:
test-unity:
needs: [build-unity]
if: ${{ (github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:') }}
if: ${{ (github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:') || github.triggering_actor == 'dependabot[bot]' }}
strategy:
fail-fast: false
matrix: