Skip to content

Commit 11b3282

Browse files
committed
ci: Don't allow dependabot to run Unity CI
1 parent e52663c commit 11b3282

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-debug.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- run: dotnet test -c Debug
2020

2121
build-unity:
22-
if: ${{ (github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:') }}
22+
if: ${{ (github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:') || github.triggering_actor == 'dependabot[bot]' }}
2323
strategy:
2424
fail-fast: false
2525
matrix:
@@ -67,7 +67,7 @@ jobs:
6767

6868
test-unity:
6969
needs: [build-unity]
70-
if: ${{ (github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:') }}
70+
if: ${{ (github.event_name == 'push' && github.repository_owner == 'Cysharp') || startsWith(github.event.pull_request.head.label, 'Cysharp:') || github.triggering_actor == 'dependabot[bot]' }}
7171
strategy:
7272
fail-fast: false
7373
matrix:

0 commit comments

Comments
 (0)