mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
ci: fix unable to add comment on PR from fork (#22777)
This commit is contained in:
6
.github/workflows/pr-comment.yml
vendored
6
.github/workflows/pr-comment.yml
vendored
@@ -1,7 +1,11 @@
|
||||
name: Thanks to the PR Contributor
|
||||
# Note that this `pull_request_target` is vulnerable, it grants write access to a fork repo
|
||||
# DO NOT ADD ANY CHECKOUT/CACHING in this workflow
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types: [closed]
|
||||
|
||||
jobs:
|
||||
comment:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user