You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)
set permissions to `Read and write permissions` and click `Save` button
You can see it working here, while Repository Settings >> Actions remains with the default config:
The text was updated successfully, but these errors were encountered:
This is a bit of a bug by today's standards. The suggested token permissions work really well. No need for a private (personal) GitHub token or the workflow settings currently suggested.
When using granular permissions in the workflow file, we don't need to change Repository Settings >> Actions.
To make use of granular permissions, we need to add the following in the workflow job:
So schedules.yml would become:
By adding these two lines, you'll be able to remove this step from the Readme:
starred/README.md
Lines 74 to 76 in 3e1e011
You can see it working here, while Repository Settings >> Actions remains with the default config:
The text was updated successfully, but these errors were encountered: