mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-03 20:34:20 +01:00 
			
		
		
		
	Use develop as base on develop branch.
This commit is contained in:
		
							
								
								
									
										16
									
								
								.github/workflows/e2e.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										16
									
								
								.github/workflows/e2e.yml
									
									
									
									
										vendored
									
									
								
							@@ -17,9 +17,19 @@ permissions:
 | 
				
			|||||||
  contents: read
 | 
					  contents: read
 | 
				
			||||||
 | 
					
 | 
				
			||||||
env:
 | 
					env:
 | 
				
			||||||
  # For PRs and MergeQueues, the target commit is used, and for push events, github.event.previous is used.
 | 
					  # For PRs and MergeQueues, the target commit is used, and for push events to non-develop branches, github.event.previous is used if available. Otherwise, 'develop' is used.
 | 
				
			||||||
  targetHash: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha || (github.event.before == '0000000000000000000000000000000000000000' && 'develop' || github.event.before)  }}
 | 
					  targetHash: >-
 | 
				
			||||||
 | 
					    ${{ 
 | 
				
			||||||
 | 
					      github.event.pull_request.base.sha || 
 | 
				
			||||||
 | 
					      github.event.merge_group.base_sha || 
 | 
				
			||||||
 | 
					      (
 | 
				
			||||||
 | 
					        (
 | 
				
			||||||
 | 
					          (github.event_name == 'push' && github.ref == 'refs/heads/develop') || 
 | 
				
			||||||
 | 
					          github.event.before == '0000000000000000000000000000000000000000'
 | 
				
			||||||
 | 
					        ) && 'develop'
 | 
				
			||||||
 | 
					      ) || 
 | 
				
			||||||
 | 
					      github.event.before
 | 
				
			||||||
 | 
					    }}
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  cache:
 | 
					  cache:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user