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

✨ Add COMMIT_AS_PR_TITLE option #115

Merged
merged 1 commit into from
Sep 27, 2021
Merged

✨ Add COMMIT_AS_PR_TITLE option #115

merged 1 commit into from
Sep 27, 2021

Conversation

Nef10
Copy link
Contributor

@Nef10 Nef10 commented Sep 26, 2021

This option allows to use the first line of commit message as PR
title. It requires that ORIGINAL_MESSAGE is on and working (meaning the
file(s) were changed and the action was triggered by pushing a single
commit)

Fixes #103

Demo:

  1. First commit sets the PR title correctly, but when a second commit is added to the PR it reverts the title: https://github.com/Nef10/test-sync/pull/81
  2. Title not set because useOriginalCommitMessage is not true (as the change is not triggered by a commit): https://github.com/Nef10/test-sync/pull/82
  3. With COMMIT_AS_PR_TITLE off: https://github.com/Nef10/test-sync/pull/83

This option allows to use the first line of commit message as PR
title. It requires that ORIGINAL_MESSAGE is on and working (meaning the
file(s) were changed and the action was triggered by pushing a single
commit)

Fixes #103
@BetaHuhn BetaHuhn changed the title Add COMMIT_AS_PR_TITLE option ✨ Add COMMIT_AS_PR_TITLE option Sep 27, 2021
@BetaHuhn BetaHuhn merged commit 8c50c0d into BetaHuhn:master Sep 27, 2021
@BetaHuhn
Copy link
Owner

Awesome, thanks!

@BetaHuhnBot
Copy link
Collaborator

🎉 This PR is included in version 1.14.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants