mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
96648754a0
* ci: unite action version * Update verify-package-version.yml * Update issue-open-check.yml * Update preview-start.yml * Update preview-deploy.yml * Update pr-open-check.yml * Update issue-remove-inactive.yml
26 lines
781 B
YAML
26 lines
781 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:
|
|
types: [opened, synchronize, reopened]
|
|
|
|
jobs:
|
|
preview-start:
|
|
name: start preview info
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: update status comment
|
|
uses: actions-cool/maintain-one-comment@v2
|
|
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 -->'
|