-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix first-commit-message-for-new-prs
#3722
Conversation
'[href="#commits_bucket"] .Counter' // Same repository | ||
].join()); | ||
const commitsBucket = await elementReady<HTMLElement>('#commits_bucket'); | ||
const commitCount = commitsBucket?.previousElementSibling?.querySelector('ul > li:nth-child(1) .text-emphasized'); |
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.
😱
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.
Yes testing link in first post
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.
Use octicon-git-commit
to select this
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.
What did you test exactly? Neither one of those commits have a description
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.
Your right I did not test the description part but the title changes. Will test it soon.
Co-Authored-By: Fregante <opensource@bfred.it>
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.
Merge after testing
GitHub is going to give us a very hard time. There are almost no more class specific selectors
Test on:
https://github.com/sindresorhus/refined-github/compare/master...yakov116:text?expand=1 (Cross-fork)
https://github.com/sindresorhus/refined-github/compare/master...sindresorhus:lint?expand=1 (Same-repo)