-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
33 lines (33 loc) · 1.24 KB
/
action.yml
File metadata and controls
33 lines (33 loc) · 1.24 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
30
31
32
33
name: simple-release-action
description: A simple GitHub Action to automate version bumps, changelogs, and releases using Conventional Commits.
author: Dan Onoshko <danon0404@gmail.com>
inputs:
workflow:
description: |
Workflow to run.
- full: create PR with release changes and release on merge (default)
- pull-request: create PR with release changes
- release: run release on release commit
- check: run context check to skip unnecessary runs (e.g. on issue_comment) and determines workflow to run
default: 'full'
github-token:
description: GitHub token to authenticate with the GitHub API
required: true
npm-token:
description: NPM token to authenticate with the NPM registry. Passed to `NODE_AUTH_TOKEN` env variable.
publish-token:
description: Generic token for config file. Passed to `PUBLISH_TOKEN` env variable.
branch:
description: Branch to store release changes and create pull request from.
default: simple-release
outputs:
continue:
description: Outputs 'true' when the 'check' workflow determines the context is appropriate.
workflow:
description: The workflow to run based on the context.
runs:
using: node20
main: src/index.js
branding:
icon: send
color: green