-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
34 lines (34 loc) · 1.21 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
name: Cargo Release PR metadata extractor
description: Extract the metadata of a PR created by cargo-bins/release-pr
branding:
icon: filter
color: orange
inputs:
event-data:
description: pull_request event data, in JSON
required: true
extract-notes-under:
description: Line under which the release notes are placed. If not provided, notes are not extracted.
required: false
outputs:
is-release:
description: The strings 'true' or 'false' if the pull_request given was a release PR with metadata.
version:
description: Version data of the release PR, in JSON.
crates:
description: Crates data of the release PR, in JSON.
notes:
description: Notes extracted from the release PR, as a string.
version-actual:
description: Convenience value of version.actual as a string.
version-previous:
description: Convenience value of version.previous as a string.
version-desired:
description: Convenience value of version.desired as a string.
crates-names:
description: Convenience value of crates.*.name as a comma-separated string.
crates-paths:
description: Convenience value of crates.*.path as a colon-separated string.
runs:
using: node16
main: dist/index.js