whylabs/langkit

Release workflow is hitting a permission error

Closed this issue · 2 comments

See: https://github.com/whylabs/langkit/actions/runs/5626291054/job/15246797603

Need to investigate and fix this so that we have better automation around releasing LangKit.

Looks like it might be a default permissions issue on Actions in github, workflows need to be configured to allow repo writes: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token

permissions are now updated in the LangKit repo settings, lets see if the next PR to be merged can successfully update the release notes. It appears that the release drafter and the release workflow both are failing because of the default permissions for github actions.

Earlier error fixed, but there is an error publishing to PyPI in a separate step