Skip to content

Commit ff55310

Browse files
committed
Revert "Fix workflow trigger for Python package version check"
This reverts commit df4cc38. Reverting this because it was based on a misunderstanding of what `pull_request_target` does. It seems that `pull_request_target` (apart from the secret stuff) mostly determines which branch gets to decide on the workflows to run. We want the target to decide this (as an extra security precaution), rather than the PR, so it should have been fine. On further testing anyway, it seems like some other issue is to blame here.
1 parent df4cc38 commit ff55310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-python-package-versions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Check Python package version numbers
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
paths:
66
- '**/pyproject.toml'
77
- 'packages/**/__about__.py'

0 commit comments

Comments
 (0)