Skip to content

Commit 6180ce1

Browse files
committed
Revert "ci: Replace pull_request with pull_request_target"
This was a very bad idea since this made CI operate within the context of the *base* branch, which meant that the tests were testing code in the `master` branch instead of the branch that was to be merged!
1 parent 69dbfd9 commit 6180ce1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Test
22
on:
3-
pull_request_target:
3+
pull_request:
44
push:
55
branches:
66
- master

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Lint check
22
run-name: Lint code
33
on:
4-
pull_request_target:
4+
pull_request:
55
push:
66
branches:
77
- master

0 commit comments

Comments
 (0)