Skip to content

Commit

Permalink
ci: use pull_request_target instead of pull_request for outside colla…
Browse files Browse the repository at this point in the history
…borators
  • Loading branch information
lumirlumir committed Sep 16, 2024
1 parent af7d217 commit 744877f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]

pull_request:
pull_request_target:
branches: [main]

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-cross-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
paths-ignore:
- '**/*.md'

pull_request:
pull_request_target:
branches: [main]
paths-ignore:
- '**/*.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [main]

pull_request:
pull_request_target:
branches: [main]

jobs:
Expand Down

0 comments on commit 744877f

Please sign in to comment.