Skip to content

Commit 8ecb6b5

Browse files
author
Oleg
committed
Use user.login to identify whether the PR is from dependabot
1 parent 9f1969b commit 8ecb6b5

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
@@ -186,7 +186,7 @@ jobs:
186186
needs: build
187187
runs-on: ubuntu-latest
188188

189-
if: (!cancelled() && github.event_name == 'pull_request' && github.actor == 'dependabot[bot]')
189+
if: (!cancelled() && github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]')
190190

191191
permissions:
192192
contents: write

0 commit comments

Comments
 (0)