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!
This commit is contained in:
Šarūnas Nejus 2024-10-30 12:27:44 +00:00
parent 69dbfd9868
commit 6180ce1973
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
name: Test
on:
pull_request_target:
pull_request:
push:
branches:
- master

View file

@ -1,7 +1,7 @@
name: Lint check
run-name: Lint code
on:
pull_request_target:
pull_request:
push:
branches:
- master