Refusing to allow a Personal Access Token to create or update workflow .github/workflows/deployment.yml
without workflow
scope.
Its coming because your current access token for Github does not have permission to create workflows. To solve/fix this follow below steps
Create new token on Github
Go to your profile -> Settings and click on Developers settings from left side menu.
![](https://webtotools.com/wp-content/uploads/2023/01/developer-settings.png)
Create Personnel Access Token: On Developer settings Page click on Personnel Access Token and then Generate new Access token button.
Enter Note: GITHUB-ACTIONS (or whatever you want to)
Selection token expiration
Select scopes -> repo and workflows
Click on Generate Token
![](https://webtotools.com/wp-content/uploads/2023/01/image-1.png)
you will have brand new token with workflow permissions added to that token.
Use that Brand new Github Token
Use this brand new token to push workflows on your repositions