vrchat-community / template-package

WIP Package Template Repository
https://vrchat-community.github.io/template-package/
54 stars 17 forks source link

New repositories default to read only access for workflows resulting in error in Release workflow #2

Closed Varneon closed 1 year ago

Varneon commented 1 year ago

New repositories (created in 2023?) default the workflow permissions to Read repository contents permission (previously Read and write permission).

This setting can be found under: Repository > Settings > Code and automation > Actions > General > Workflow permissions:

image

Unless this option is manually set to Read and write permission, the Release workflow will result in an error due to insufficient permissions when attempting to create a new release:

image

Spokeek commented 1 year ago

I used this template recently and it seem to work as expected.

This is was fixed in a commit made in the end of March : https://github.com/vrchat-community/template-package/commit/10fd190261fb427b9baad054dee39db5027e9cfb

I suggest you try it again. Else i can look with you.

momo-the-monster commented 1 year ago

Closing since this is fixed now, thanks for the report and the follow-up, @Varneon and @Spokeek!