86133 | aaa3f5d | 2025-04-20 21:33:29 +0800 | [diff] [blame^] | 1 | name: Preview Start |
| 2 | |
| 3 | on: pull_request_target |
| 4 | |
| 5 | permissions: |
| 6 | contents: read |
| 7 | |
| 8 | jobs: |
| 9 | preview: |
| 10 | permissions: |
| 11 | issues: write # for actions-cool/maintain-one-comment to modify or create issue comments |
| 12 | pull-requests: write # for actions-cool/maintain-one-comment to modify or create PR comments |
| 13 | runs-on: ubuntu-latest |
| 14 | steps: |
| 15 | - name: create |
| 16 | uses: actions-cool/maintain-one-comment@v1.2.1 |
| 17 | with: |
| 18 | token: ${{ secrets.GITHUB_TOKEN }} |
| 19 | body: | |
| 20 | ⚡️ Deploying PR Preview... |
| 21 | <img src="https://user-images.githubusercontent.com/507615/90240294-8d2abd00-de5b-11ea-8140-4840a0b2d571.gif" width="300" /> |
| 22 | |
| 23 | <!-- Sticky Pull Request Comment --> |
| 24 | body-include: '<!-- Sticky Pull Request Comment -->' |