Skip to content

Commit

Permalink
feat: add release-type input parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis authored and steveoh committed Sep 12, 2022
1 parent cfa4263 commit 0622a7d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ jobs:
github-app-key: ${{ secrets.UGRC_RELEASE_BOT_APP_KEY }}
github-app-name: ${{ secrets.UGRC_RELEASE_NAME }}
github-app-email: ${{ secrets.UGRC_RELEASE_EMAIL }}
release-type: simple
Empty file added CHANGELOG.md
Empty file.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ inputs:
github-app-email:
description: Installed GitHub Email (e.g. secrets.UGRC_RELEASE_BOT_EMAIL)
required: true
release-type:
description: Release Please release type
required: false
default: node
outputs:
release_created:
description: A release was successfully created
Expand Down Expand Up @@ -60,7 +64,7 @@ runs:
id: release-please
with:
token: ${{ steps.generate_token.outputs.token }}
release-type: node
release-type: ${{ inputs.release-type }}
pull-request-title-pattern: 'chore: release v${version}'
changelog-types: >
[{"type":"feat","section":"🚀 Features","hidden":false},
Expand Down
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.0

0 comments on commit 0622a7d

Please sign in to comment.