Comments (16)
@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)
from semantic-pull-requests.
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)
from semantic-pull-requests.
@christopherscott oh right! my bad, I do use Refined GitHub so that explains it
from semantic-pull-requests.
It works!
from semantic-pull-requests.
Hi there,
I'm having issues with single commit PRs still. I have no config file and am using the default GitHub app.
from semantic-pull-requests.
Any update? We could take a similar approach as this.
from semantic-pull-requests.
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.
Ok, I'm going to work on it and send a PR!
from semantic-pull-requests.
Sounds good!
from semantic-pull-requests.
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:
- fix the behavior of the handler when
titleOnly
option set totrue
in order to check by default the PR title, but in case there's only one commit then check the commit's message - 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.
@piratefsh yes, it was a squashed and merged. I only have that enabled
from semantic-pull-requests.
@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.
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.
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.
#58 had to be rolled back, so this is still an issue.
from semantic-pull-requests.
@zeke just checking in on what I posted above
from semantic-pull-requests.
Related Issues (20)
- Empty space prefixing PR title should make the pr title invalid HOT 2
- Looking for maintainer(s) HOT 2
- Github IP allow list HOT 2
- Github Enterprise (GHE) App deployed successfully, but no status checks shown on PR HOT 5
- Feature request: support for fixup! (git commit --fixup) commits HOT 1
- Is semantic-pull-requests service down? HOT 15
- Opt-in check only by adding a configuration HOT 5
- Is it a issue? When there is no space after colon, PR is invalid HOT 2
- semantic PR check still not working HOT 24
- Semantic Pull Request test Fail ❌ HOT 1
- Node engine version HOT 10
- Semantic bot not working, no semantic entry in checks HOT 2
- feature: support optional scope in type HOT 4
- Add gitmoji acceptance HOT 1
- Service down HOT 24
- Github defaults to PR title for squash and merge HOT 1
- App stops working in aws/aws-sdk-js-v3 HOT 2
- Maintenance mode - Thanks! HOT 1
- It can use this flow with Gitlab? HOT 2
- Status check stuck in "Expected — Waiting for status to be reported" state HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semantic-pull-requests.