-
Notifications
You must be signed in to change notification settings - Fork 1
feat!: Updated pr title check and preview release type #28
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
base: main
Are you sure you want to change the base?
Conversation
bbe9fdf to
6a2736a
Compare
| run: | | ||
| # Get commits from this PR | ||
| COMMITS=$(git log origin/${{ github.base_ref }}..HEAD --pretty=format:"%s") | ||
| echo "Commits in this PR:" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we are using semantic release to determine this, why are we adding our own script for version?
Why not use semantic release action itself?
|
|
||
| body = `## Release Preview\n\n**Release Type:** \`${releaseType}\`\n**Next Version:** \`v${version}\`\n\n### Release Notes\n${notes}\n\n---\n*This shows what release will be created when this PR is merged.*`; | ||
| } else { | ||
| body = '## Release Preview\n\nNo new release will be created from this PR.\n\nThis PR does not contain conventional commits that trigger a release.'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would suggest using existing action instead of writing out own script. Please refer to how terraform output is commented on the PR.
Made changes in terraform workflow Updated github workflows. removed github token decleration in my new version preview feat!: breaking change to workflow BREAKING CHANGE: Updated release preview mechanism fix: use PR merge ref for version preview fix: changes versionpreview.yaml fix: Updated Preview.yaml file fix: updated versions-preview workflow making it edit the existing release preview refactor: simplify version preview using semantic-release action fix: configure semantic-release to analyze PR branches fix: use semantic-release with proper branch configuration fix: create branch instead of renaming in detached HEAD debug: add logging to see what semantic-release sees fix: pass PR number as input to version-preview workflow fix: made changes in version-preivew for using sematic release.
4a21396 to
5816a0d
Compare
Release PreviewNo new release will be created from this PR. This PR does not contain conventional commits that trigger a release. |
BREAKING CHANGES: Made changes for readme file in cross-account examples.
No description provided.