andreykaipov / goobs

Go client library for OBS Studio
Apache License 2.0
137 stars 22 forks source link

ci: use gh app token for release-drafter #127

Closed andreykaipov closed 11 months ago

andreykaipov commented 11 months ago

From the docs in https://github.com/release-drafter/release-drafter, I think I need this to make the auto-labeling work for forks.

This PR https://github.com/andreykaipov/goobs/pull/126 ran the update-release-draft workflow but silently failed with the following errors:

image

Would be nice to only update the release draft on PR close, and run the auto-labeler on other events, but don't think I can do that yet based on this comment

andreykaipov commented 11 months ago

Although... since the workflow did get triggered by that PR, maybe the problem isn't that it was from a fork, but the token itself? I'm using the default secrets.GITHUB_TOKEN for this https://github.com/andreykaipov/goobs/blob/main/.github/workflows/release-drafter.yml#L24-L25, and the Cathy Cloud integration everywhere else. I wonder if I can just update this to use that instead...

andreykaipov commented 11 months ago

Gonna try using the app token instead to see if that fixes things