-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(changelog.sh): update to new changelog flags, update workflow an…
…d ci.sh
- Loading branch information
Showing
3 changed files
with
26 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,16 @@ run-name: release PR ${{ github.ref }}@${{ github.sha }} | |
on: | ||
workflow_dispatch: | ||
inputs: | ||
module: | ||
description: Module to release | ||
url: | ||
description: Github repository URL to point commit links at | ||
required: true | ||
type: string | ||
title: | ||
description: Release title; new version and date will be added | ||
type: string | ||
tag_prefix: | ||
description: Prefix to be concatenated to semver tag, i.e ${PREFIX}v1.0.0 | ||
type: string | ||
|
||
jobs: | ||
release-pr: | ||
|
@@ -35,15 +41,15 @@ jobs: | |
shell: bash | ||
env: | ||
CHANGELOG_FILE: CHANGELOG.md | ||
run: ./workflows/release/changelog.sh ${{ inputs.module }} | ||
run: ./workflows/release/changelog.sh ${{ inputs.url }} ${{ inputs.title }} ${{ inputs.tag_prefix }} | ||
|
||
- name: Open PR | ||
uses: peter-evans/[email protected] | ||
with: | ||
commit-message: "chore: release ${{ inputs.module }}" | ||
title: "chore: release ${{ inputs.module }}" | ||
commit-message: "chore: release ${{ inputs.title }}" | ||
title: "chore: release ${{ inputs.title }}" | ||
add-paths: . | ||
body: "" | ||
committer: release-workflow <41898282+github-actions[bot]@users.noreply.github.com> | ||
branch: release-${{ inputs.module }} | ||
branch: release-${{ inputs.title }} | ||
branch-suffix: random |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters