mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 21:39:16 +08:00 
			
		
		
		
	Change secret name for PAT to not start with GITHUB_ (#623)
Github doesn't allow secret names that start with `GITHUB_` (case insensitive). Update README to choose a different prefix (GH).
This commit is contained in:
		@@ -185,7 +185,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
 | 
			
		||||
  uses: actions/checkout@v2
 | 
			
		||||
  with:
 | 
			
		||||
    repository: my-org/my-private-tools
 | 
			
		||||
    token: ${{ secrets.GitHub_PAT }} # `GitHub_PAT` is a secret that contains your PAT
 | 
			
		||||
    token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT
 | 
			
		||||
    path: my-tools
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user