Skip to content

Commit b9d7969

Browse files
committed
Update python.yml
1 parent ce7811e commit b9d7969

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request_target' && !contains(github.event.pull_request.labels.*.name, 'skip-sample-tests')) }}
2121
outputs:
2222
should_run: 'true'
23-
is_fork: ${{ github.event_name == 'pull_request_target' && (github.event.pull_request.head.repo.fork || github.event.pull_request.user.login == 'dependabot[bot]') }}
23+
is_fork: ${{ github.event_name == 'pull_request_target' && (github.event.pull_request.head.repo.full_name != github.repository || github.event.pull_request.user.login == 'dependabot[bot]') }}
2424
steps:
2525
- run: echo "Evaluating workflow conditions"
2626

0 commit comments

Comments
 (0)