-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
33 lines (32 loc) · 927 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: "Github Pull Request Retest"
description: 'Re-run failed GitHub Workflow runs on PRs by commenting "/retest".'
author: "yuluo"
branding:
color: blue
icon: activity
inputs:
token:
description: >
GitHub token used to create and remove comments. By default, this uses the
repository token provided by GitHub Actions. You can customize the user by
replacing this token with a user token which has write-access to your
repository. Note that the token will be accessible to all repository
collaborators.
default: ${{ github.token }}
comment-id:
description: >-
ID of comment for response
required: true
type: number
pr-url:
description: >-
URL to fetch PR information
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.token }}
- ${{ inputs.comment-id }}
- ${{ inputs.pr-url }}
- ${{ inputs.args }}