-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
28 lines (27 loc) · 1.26 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
name: snapit-release
description: Create a snapshot NPM release with `/snapit` comment in a PR
author: Shopify
inputs:
build_script:
description: Build script for building the repository before publishing.
comment_command:
description: A comma seperated list of comment commands to trigger the action
default: '/snapit'
branch:
description: Push the changes to a branch instead of publishing to the NPM registry.
custom_message_prefix:
description: Custom message added to the beginning of the snapit GitHub comment. By default a generic message is shown.
custom_message_suffix:
description: Custom message added to the end of the snapit GitHub comment.
global_install:
description: If true, the GitHub comment will show instructions to install a global npm package instead of the normal JSON dependencies.
github_comment_included_packages:
description: Which packages to include in the final output. All pacakges are still published, but only those in this list are shown in the final message. If empty, all packages are included.
working_directory:
description: If specified, the action will run all commands for snapit in the specified directory.
runs:
using: node20
main: dist/index.js
branding:
icon: aperture
color: blue