mirror of
				https://github.com/optim-enterprises-bv/vault.git
				synced 2025-10-31 02:28:09 +00:00 
			
		
		
		
	fix plugin update check pr num fetching (#26066)
This commit is contained in:
		 John-Michael Faircloth
					John-Michael Faircloth
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							fc0abf2d9f
						
					
				
				
					commit
					69fd338c78
				
			
							
								
								
									
										6
									
								
								.github/workflows/plugin-update-check.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/plugin-update-check.yml
									
									
									
									
										vendored
									
									
								
							| @@ -67,13 +67,13 @@ jobs: | |||||||
|             --head "$VAULT_BRANCH" \ |             --head "$VAULT_BRANCH" \ | ||||||
|             --title "[DO NOT MERGE]: $PLUGIN_REPO Automated plugin update check" \ |             --title "[DO NOT MERGE]: $PLUGIN_REPO Automated plugin update check" \ | ||||||
|             --body "Updates $PLUGIN_REPO to verify vault CI. Full log: https://github.com/hashicorp/vault/actions/runs/$RUN_ID" |             --body "Updates $PLUGIN_REPO to verify vault CI. Full log: https://github.com/hashicorp/vault/actions/runs/$RUN_ID" | ||||||
|  |  | ||||||
|             echo "vault_pr_num=$(gh pr list --head "$VAULT_BRANCH" --json number -q '.[0].number')" >> "$GITHUB_OUTPUT" |  | ||||||
|             echo "vault_pr_url=$(gh pr list --head "$VAULT_BRANCH" --json url -q '.[0].url')" >> "$GITHUB_OUTPUT" |  | ||||||
|           else |           else | ||||||
|             echo "Pull request already exists, won't create a new one." |             echo "Pull request already exists, won't create a new one." | ||||||
|           fi |           fi | ||||||
|  |  | ||||||
|  |           echo "vault_pr_num=$(gh pr list --head "$VAULT_BRANCH" --json number -q '.[0].number')" >> "$GITHUB_OUTPUT" | ||||||
|  |           echo "vault_pr_url=$(gh pr list --head "$VAULT_BRANCH" --json url -q '.[0].url')" >> "$GITHUB_OUTPUT" | ||||||
|  |  | ||||||
|       - name: Add labels to Vault CI check PR |       - name: Add labels to Vault CI check PR | ||||||
|         if: steps.changes.outputs.count > 0 |         if: steps.changes.outputs.count > 0 | ||||||
|         env: |         env: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user