mirror of
				https://github.com/actions/checkout.git
				synced 2025-10-31 18:18:37 +08:00 
			
		
		
		
	Revise ADR: Use the auth token to fetch the workflow repo
This commit is contained in:
		
							parent
							
								
									58070a9fc3
								
							
						
					
					
						commit
						3fcc3107db
					
				|  | @ -40,9 +40,12 @@ We want to take this opportunity to make behavioral changes, from v1. This docum | ||||||
|     default: ${{ github.token }} |     default: ${{ github.token }} | ||||||
|   ssh-key: |   ssh-key: | ||||||
|     description: > |     description: > | ||||||
|       SSH key used to fetch the repository. The SSH key is configured with the local |       The SSH key to use. The SSH key is configured with the local git config, which enables | ||||||
|       git config, which enables your scripts to run authenticated git commands. |       your scripts to run authenticated git commands. The post-job step removes the SSH key. | ||||||
|       The post-job step removes the SSH key. | 
 | ||||||
|  | 
 | ||||||
|  |       When fetching the repository the workflow is running in, the auth token will be used | ||||||
|  |       and configured instead. This enables the SSH key to be used only for submodules. | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|       We recommend using a service account with the least permissions necessary. |       We recommend using a service account with the least permissions necessary. | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 eric sciple
						eric sciple