forked from product-os/review-commit-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
39 lines (36 loc) · 1.1 KB
/
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
34
35
36
37
38
39
name: 'Approved Commit Action'
description:
'Wait for approval from a repository maintainer on a commit comment'
author: 'Balena <[email protected]>'
inputs:
github-token:
description:
'GitHub token for authentication. The user associated with this token is
not eligible to review.'
required: false
default: ${{ github.token }}
check-interval:
description: 'Interval in seconds between checks for reactions.'
required: false
default: '10'
timeout-seconds:
description:
'Timeout in seconds to wait for eligible reactions. Set to 0 to disable
timeout. Overall job timeout takes precedence.'
required: false
default: '0'
allow-authors:
description:
'Allow pull request commit authors to approve or reject the workflow.'
required: false
default: 'false'
outputs:
comment-id:
description: 'ID of the commit comment requiring review.'
approved-by:
description: 'Username of the user who approved the commit.'
rejected-by:
description: 'Username of the user who rejected the commit.'
runs:
using: 'node20'
main: dist/index.js