azure-functions-ux icon indicating copy to clipboard operation
azure-functions-ux copied to clipboard

Improvement: Update Permissions of generated workflows to support Private Repos

Open Whats-A-MattR opened this issue 8 months ago • 4 comments

Minor update / patch to include support for Private Repositories out of the box.

Due to id-token: write being set statically on the generated workflow, other permissions are set / unset to none as outlined in GitHub Action docs.

If you specify the access for any of these scopes, all of those that are not specified are set to none. Source: Github Actions Documentation

I have updated the permissions constant to include contents: read #Required to enable use with Private Repositories The Action should work out of the box now regardless of whether the Repository is Public or Private.

Whats-A-MattR avatar Jun 05 '24 07:06 Whats-A-MattR