Repository navigation
Expand file tree
/
Copy pathaction.yml
More file actions
29 lines (29 loc) · 1.55 KB
/
Copy pathaction.yml
File metadata and controls
29 lines (29 loc) · 1.55 KB
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
name: 'WordPress Props'
description: 'Leaves a list of all contributors associated with a pull request and linked issues in a comment for use within merge commits messages.'
inputs:
format:
description: 'Format of the message. use `git`, `svn`, `all`, or a comma separated combination of those.'
required: false
default: 'git'
post-comment:
description: 'Whether to post the generated list of props as a comment. No comment is posted when `false`, the message is only returned through the `comment-body` output.'
required: false
default: 'true'
include-intro:
description: 'Whether `comment-body` starts with the intro paragraph. Only applies when `post-comment` is `false`; a posted comment always keeps it.'
required: false
default: 'true'
fail-on-error:
description: 'Whether to fail the workflow run when the comment cannot be posted. Leave it off for workflows that run on `pull_request` and accept pull requests from forks, since their token is read-only there.'
required: false
default: 'false'
token:
description: 'GitHub token. Requires `pull-requests: read` permission, or `write` when `post-comment` is `true`. On a private repository, it additionally requires `issues: read` permission.'
required: true
default: ${{ github.token }}
outputs:
comment-body:
description: 'The fully rendered props message in the `format` specified. Empty when no contributors were found.'
runs:
using: 'node24'
main: 'dist/index.js'