mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
ci: refactor pr preview alert (#4781)
This commit is contained in:
16
.github/workflows/preview-start.yml
vendored
Normal file
16
.github/workflows/preview-start.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Preview Start
|
||||
|
||||
on: pull_request_target
|
||||
|
||||
jobs:
|
||||
preview:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: create
|
||||
uses: actions-cool/maintain-one-comment@v1.1.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
body: |
|
||||
<img width="400" src="https://user-images.githubusercontent.com/17680888/145600226-14f9cb31-33b8-4757-b2c0-affdb7499089.png">
|
||||
<!-- ELEMENT_PLUS_PREVIEW -->
|
||||
body-include: '<!-- ELEMENT_PLUS_PREVIEW -->'
|
||||
Reference in New Issue
Block a user