Only check the HEAD commit of a PR
See original GitHub issueCould we add a flag that only checks the head commit of the feature branch on PR?
If I have a branch like this
TICKET-123 Do some work
fix x
fix y
add unit test
I want this to only run on TICKET-123 Do some work
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Find a Pull Request on GitHub where a commit was originally ...
You can just go to GitHub and enter the SHA into the search bar, make sure you select the "Issues" link on the...
Read more >What does "Checkout pull request HEAD commit instead of ...
Hi there! The README has a section saying how to "[c]heckout pull request HEAD commit instead of merge commit". It isn't really clear...
Read more >A Git command to jump from a commit SHA to the PR on GitHub
I wanted a quick way to jump straight to a PR from a commit SHA by running a single command. Something like git...
Read more >What is Git HEAD? | The Concept of HEAD in Git - Explained
In Git, a head is a ref that points to the tip (latest commit) of a branch. You can view your repository's heads...
Read more >Recovering from the Git detached HEAD state - CircleCI
In this image, the HEAD points to the latest commit and current checked-out branch on every commit in the current branch. HEAD is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah I think we should name it
commit-depth
or something like that to avoid confusion with the checkout parameter.Thanks! If you need someone to contribute this to the codebase I’m happy to take a crack at it. Just let me know.