chore(ci): add pull request retest action (#404)
Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
This commit is contained in:
parent
2d3c1737b7
commit
d95d2ffd73
|
@ -0,0 +1,27 @@
|
|||
name: Retest Action on PR Comment
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
retest:
|
||||
if: |
|
||||
${{
|
||||
github.event.issue.pull_request
|
||||
&& github.repository == 'LinuxSuRen/api-testing'
|
||||
}}
|
||||
name: Retest
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
pull-requests: write
|
||||
actions: write
|
||||
steps:
|
||||
- uses: yuluo-yx/gh-retest@V1.0.0-RC1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
comment-id: ${{ github.event.comment.id }}
|
||||
pr-url: ${{ github.event.issue.pull_request.url }}
|
Loading…
Reference in New Issue