GithubHelp home page GithubHelp logo

Comments (16)

kewah avatar kewah commented on June 10, 2024 2

@zeke it seems to have been fixed on GitHub side. I ran a test and it uses the PR's title for the commit message 👍

EDIT: It worked because I use Refined GitHub as @christopherscott pointed out #17 (comment)

PR:
image

Commit:
image

from semantic-pull-requests.

piratefsh avatar piratefsh commented on June 10, 2024 1

hi @kewah was your merge made as a squash and merge? I'm still facing this issue where GH still autopopulates single-commit squashes with the commit message instead of the PR title (see screenshot)
Screen Shot 2019-08-07 at 2 44 14 PM

from semantic-pull-requests.

kewah avatar kewah commented on June 10, 2024 1

@christopherscott oh right! my bad, I do use Refined GitHub so that explains it

from semantic-pull-requests.

zeke avatar zeke commented on June 10, 2024 1

It works!

Screen Shot 2020-07-08 at 2 05 31 PM

from semantic-pull-requests.

kunalnagar avatar kunalnagar commented on June 10, 2024 1

@zeke

Hi there,

I'm having issues with single commit PRs still. I have no config file and am using the default GitHub app.

image

from semantic-pull-requests.

frabonomi avatar frabonomi commented on June 10, 2024

Any update? We could take a similar approach as this.

from semantic-pull-requests.

zeke avatar zeke commented on June 10, 2024

I haven't made time to work on this, but if anyone wants to open a PR for it, I'd be happy to review, merge, and deploy it!

from semantic-pull-requests.

frabonomi avatar frabonomi commented on June 10, 2024

Ok, I'm going to work on it and send a PR!

from semantic-pull-requests.

zeke avatar zeke commented on June 10, 2024

Sounds good!

from semantic-pull-requests.

frabonomi avatar frabonomi commented on June 10, 2024

Sorry @zeke, just to better understand the purpose of this repo: in which case would one use the default options and allow merging whenever at least one commit has a semantic message or the title of the PR is semantic?

For this fix what would you suggest to do:

  1. fix the behavior of the handler when titleOnly option set to true in order to check by default the PR title, but in case there's only one commit then check the commit's message
  2. create a squashMerging option to define the separate behavior

I feel the first option would be the best, but then the titleOnly name doesn't make much sense anymore. And I'm also not sure what was the rationale behind that option.

from semantic-pull-requests.

kewah avatar kewah commented on June 10, 2024

@piratefsh yes, it was a squashed and merged. I only have that enabled
image

image

from semantic-pull-requests.

christopherscott avatar christopherscott commented on June 10, 2024

@piratefsh I also don't see that this has changed - single commits, when squashed and merged, still seem to default to the commit title

@kewah are you using Refined Github by any chance?

from semantic-pull-requests.

zeke avatar zeke commented on June 10, 2024

Yep this is still an issue. Just bit me again. Would love a PR for this if anyone has the time!

from semantic-pull-requests.

zeke avatar zeke commented on June 10, 2024

Hey y'all. I just deployed a fix for this with #58. Give it a try and let me know if you have any issues!

from semantic-pull-requests.

zeke avatar zeke commented on June 10, 2024

#58 had to be rolled back, so this is still an issue.

from semantic-pull-requests.

kunalnagar avatar kunalnagar commented on June 10, 2024

@zeke just checking in on what I posted above ☝️

from semantic-pull-requests.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.