mirror of
				https://github.com/dtolnay/rust-toolchain.git
				synced 2025-11-04 06:42:00 +02:00 
			
		
		
		
	Merge pull request #162 from dtolnay/pin
Add note about full-length SHA
This commit is contained in:
		
						commit
						5ee21dc396
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		
							
								
								
									
										12
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
										
									
									
									
								
							| 
						 | 
					@ -99,6 +99,18 @@ compiler support.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<br>
 | 
					<br>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## Choice of full-length commit SHA
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					In a workflow that [pins the action][pin] using a full-length commit SHA (as
 | 
				
			||||||
 | 
					opposed to something like @nightly or @1.89.0) it is required that you pick a
 | 
				
			||||||
 | 
					SHA that is within the history of the master branch. Any commit that is not
 | 
				
			||||||
 | 
					within the history of master will eventually get garbage-collected and your
 | 
				
			||||||
 | 
					workflows will fail.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[pin]: https://docs.github.com/en/actions/reference/security/secure-use#using-third-party-actions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<br>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## License
 | 
					## License
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The scripts and documentation in this project are released under the [MIT
 | 
					The scripts and documentation in this project are released under the [MIT
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue