mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
926adaf565
* chore: init workflow * fix restore * try more * update ci * update preview * add workflow_run * replace action * update keep day * use cross action * surge it * add failed step * fix trigger tree * update patch number * fix patch * messager * target * add warning * use artifact * test outputs * fix checker * Update index.en-US.md * clean up Co-authored-by: xrkffgg <xrkffgg@gmail.com>
24 lines
738 B
YAML
24 lines
738 B
YAML
# When `preview-build` start. Leave a message on the PR
|
|
#
|
|
# 🚨🚨🚨 Important 🚨🚨🚨
|
|
# Never do any `checkout` or `npm install` action!
|
|
# `pull_request_target` will enable PR to access the secrets!
|
|
|
|
name: Preview Start
|
|
|
|
on: pull_request_target
|
|
|
|
jobs:
|
|
preview-start:
|
|
name: start preview info
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: update status comment
|
|
uses: actions-cool/maintain-one-comment@v1.1.0
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
body: |
|
|
![Prepare preview](https://user-images.githubusercontent.com/5378891/72351368-2c979e00-371b-11ea-9652-eb4e825d745e.gif)
|
|
<!-- AUTO_PREVIEW_HOOK -->
|
|
body-include: '<!-- AUTO_PREVIEW_HOOK -->'
|