Merge pull request #98 from edgarrmondragon/document-granular-permissions
Document usage with granular permissions
This commit is contained in:
		
						commit
						580065490f
					
				@ -206,6 +206,15 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Permissions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This actions requires writes access to the release. If you are using [granular permissions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions)
 | 
				
			||||||
 | 
					in your workflow, you will need to add the `contents: write` permission to the token:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```yaml
 | 
				
			||||||
 | 
					permissions:
 | 
				
			||||||
 | 
					  contents: write
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Releasing
 | 
					## Releasing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user