generated from redhat-plumbers-in-action/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
32 lines (27 loc) · 940 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
name: Gather Pull Request Metadata
description: Gather useful publicly available information about Pull Request and provided in easy to digest JSON format.
branding:
icon: box
color: blue
author: Jan Macků <[email protected]>
inputs:
pr-number:
required: true
default: ${{ github.event.number }}
description: Number of Pull Request to gather metadata from.
metadata-file-name:
required: false
default: pr-metadata.json
description: Name of file where Pull Request metadata will be saved.
token:
required: true
default: ${{ github.token }}
description: GitHub token used to set issue labels.
outputs:
metadata:
description: Pull Request metadata in JSON format. Use fromJSON() to parse string back to JSON.
metadata-file:
description: Path to file containing Pull Request metadata in JSON format. Useful when uploading as artifact.
runs:
using: node20
main: dist/index.js