ratgdo / homekit-ratgdo

A native HomeKit implementation of a Security+ 2.0 garage door controller based on ratgdo hardware
https://ratgdo.github.io/homekit-ratgdo/
GNU General Public License v3.0
214 stars 21 forks source link

Release Process Failing #68

Closed donavanbecker closed 10 months ago

donavanbecker commented 10 months ago

@PaulWieland anyway you can set the permissions outlined in this answer so that we can get the releases automated?

https://stackoverflow.com/questions/75995802/resource-not-accessible-by-integration-github-action-fails-for-pushed-commit

donavanbecker commented 10 months ago

@PaulWieland Here is the action with the error: https://github.com/ratgdo/homekit-ratgdo/actions/runs/7373134243/job/20062057366#step:10:1

donavanbecker commented 10 months ago

@thenewwazoo Once @PaulWieland has changed the permissions you should be able to go tot he failed action and just restart the failed action.

thenewwazoo commented 10 months ago

Re-running it didn't succeed. I haven't taken the time to diagnose yet, sorry.

PaulWieland commented 10 months ago

Actually that is the global security setting and it is not changable as the option is disabled.

image

I think the permissions have to be set at a more granular level in the workflow configuration.

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

donavanbecker commented 10 months ago

Do you have this set?

https://docs.github.com/en/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization

donavanbecker commented 10 months ago

I know as part of the Homebridge organization we have it set as an org and on the homebridge-config-ui-x for read and write and this action works:

Screenshot 2024-01-01 at 9 42 09 AM
donavanbecker commented 10 months ago

@thenewwazoo wanna try #69

donavanbecker commented 10 months ago

That didn't work @PaulWieland. So I think you will need to check these settings. I was able to get these releases to work on my fork.

donavanbecker commented 10 months ago

@PaulWieland just tried another one with #70 and still same issues. You will need to set these at an organization level and then it should be available at a repo level.

donavanbecker commented 10 months ago

71 should resolve all of this.