Skip to content

Commit 816a9fe

Browse files
committed
chore: switch CI PR trigger to pull_request
1 parent 423d7f9 commit 816a9fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Python CI
33
on:
44
push:
55
branches: [ master ]
6-
pull_request_target:
6+
pull_request:
77
branches: [ master ]
88

99
jobs:
@@ -44,7 +44,7 @@ jobs:
4444
uv tool run twine check dist/*
4545
if: matrix.os != 'windows-latest'
4646
- name: Upload coverage result
47-
if: github.repository_owner == 'msiemens'
47+
if: github.repository_owner == 'msiemens' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
4848
env:
4949
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
5050
run: |

0 commit comments

Comments
 (0)