Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Added new inputs to action.yml file #70

Merged
merged 1 commit into from
Jul 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 32 additions & 24 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "MOU Release"
description: "Create a Github release with parsed commits into a given Markdown template"
author: "MindDoc Health GmbH"
name: 'MOU Release'
description: 'Create a Github release with parsed commits into a given Markdown template'
author: 'MindDoc Health GmbH'
branding:
icon: "cloud"
color: "blue"
icon: 'cloud'
color: 'blue'
inputs:
app:
description: >-
Expand All @@ -24,24 +24,24 @@ inputs:
Propose PATCH version bumps whenever a MINOR or MAJOR is detected in a diff that had a
previous MINOR or MAJOR bump.
required: false
default: "false"
default: 'false'
draft:
description: "Publish release draft"
description: 'Publish release draft'
required: false
default: "true"
default: 'true'
prerelease:
description: "Mark release as prerelease when creating"
description: 'Mark release as prerelease when creating'
required: false
default: "true"
default: 'true'
pushTag:
description: >-
Creates and pushes the automatic calculated tag before creating the release.
Useful if you want the action to handle tags for you when publishing drafts.
By default, a release draft won't create the tag, which only happens when it is published.
required: false
default: "false"
default: 'false'
releaseName:
description: "The release title"
description: 'The release title'
required: false
releaseTag:
description: >-
Expand All @@ -55,7 +55,7 @@ inputs:
(e.g. https://myorg.atlassian.net/browse)
required: false
taskPrefix:
description: "The prefix that identifies task ids in the commits"
description: 'The prefix that identifies task ids in the commits'
required: false
default: JIRA-
templatePath:
Expand All @@ -66,29 +66,37 @@ inputs:
token:
description: "The token to access Github's API"
required: true
releaseNotesFilepath:
description: >-
Filepath where release notes are located, using the placeholder `{LANGUAGE_TAG}`. E.g. /some_path/{LANGUAGE_TAG}/release_notes.txt
required: false
releaseNotesLanguageTags:
description: >-
Language tags (e.g. en-GB, de-DE) to generate localized release notes. More info: https://www.w3.org/International/articles/language-tags/
required: false
outputs:
change_type:
description: "The semantic type of change: major, minor, patch or prerelease"
description: 'The semantic type of change: major, minor, patch or prerelease'
changes:
description: "A JSON array with the list of commit sha that are involved in the release"
description: 'A JSON array with the list of commit sha that are involved in the release'
new_tag:
description: "The newly created tag that will reference the release"
description: 'The newly created tag that will reference the release'
new_version:
description: "The newly created version that belongs to the tag"
description: 'The newly created version that belongs to the tag'
html_url:
description: "The browser url linking to Github's release"
tasks:
description: "A JSON array with the list of project management tasks involved in the release"
description: 'A JSON array with the list of project management tasks involved in the release'
previous_tag:
description: "The previously detected tag that was bumped by the action"
description: 'The previously detected tag that was bumped by the action'
previous_version:
description: "The previously detected version that was bumped by the action"
description: 'The previously detected version that was bumped by the action'
pull_requests:
description: "A JSON array with the list of Github pull requests involved in the release"
description: 'A JSON array with the list of Github pull requests involved in the release'
release_id:
description: "The release id given by Github's API"
upload_url:
description: "The url used for uploading release artifacts"
description: 'The url used for uploading release artifacts'
runs:
using: "node12"
main: "dist/run.js"
using: 'node12'
main: 'dist/run.js'