Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

How does GitHub Pages detect pull requests to be auto-closed

Solved! Go to Solution.

Hello.

 

How does Github Pages detect pull requests to be auto-closed?

I think that it is the same processing as `git branch --merged`, is it right?

 

Some pull requests is auto-closed.

Some cases like Example2 does not auto-close pull request.

 

## Example1: `add_aaa` is auto-closed 

スクリーンショット 2018-12-01 16.48.31.png

I create two pull requests

  • develop (base: master)
  • add_aaa (base: master)

If I merge develop to master, add_aaa is auto-closed 

  

## Example2: `add_aaa` is not auto-closed 

スクリーンショット 2018-12-01 17.01.34.png

I create two pull requests same as Example1.

Even if I merge develop to master, add_aaa is not auto-closed.

I think the reason is that you can not trace the commit graph from the master (after develop is merged) to the head of the add_aaa branch.

 

 

Thanks in advance for your help!

 

1 Reply
Solution
Community Manager
Message 2 of 2

Re: How does GitHub Pages detect pull requests to be auto-closed

Hi @oharakouhei,

 

Thanks for being here! You are correct! here is more information on configuring a publishing source for GitHub pages. Thanks for the cool graphs btw!

 

Cheers,

Andrea

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!