Skip to content

Commit 1cccb88

Browse files
authored
[CI] add Doc-preview workflow to /rerun support (PaddlePaddle#76148)
1 parent 52c73ee commit 1cccb88

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/rerun.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,3 +277,13 @@ jobs:
277277
OWNER: ${{ github.repository_owner }}
278278
REPO: ${{ github.event.repository.name }}
279279
JOB_NAME: 'Api-Benchmark / Check bypass for Api-Benchmark / Check bypass'
280+
281+
- name: Rerun Doc-Preview
282+
if: ${{ contains(github.event.comment.body, 'doc') && contains(github.event.comment.body, 'preview') }}
283+
uses: ./.github/actions/rerun-workflow
284+
with:
285+
PR_ID: ${{ github.event.issue.number }}
286+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
287+
OWNER: ${{ github.repository_owner }}
288+
REPO: ${{ github.event.repository.name }}
289+
JOB_NAME: 'Doc-Preview / Check bypass for Doc-Preview / Check bypass'

0 commit comments

Comments
 (0)