Git Hub Workflow Permissions – Issue

workflow permissions issue
  • Save
workflow permissions issue

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.

  • Save

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

  • Save

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