Open omrishiv opened 1 week ago
Not too sure about using PAT for orgs. Can we use this instead? https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/making-authenticated-api-requests-with-a-github-app-in-a-github-actions-workflow
Thanks for setting up the app, we should be using that correctly now
Addresses #281
Note: we need to create a repo secret called
GH_NIGHTLY_TOKEN
that has permissions to commit toidpbuilder
and publish packages. This is a GH limitation: https://github.com/orgs/community/discussions/27028#discussioncomment-3254360At 12 AM PST, a workflow will run that takes the latest main and pushes it as a new nightly tag. It will then delete the last nightly release. The creation of the new tag will trigger the release workflow to run which will create a new release off the nightly tag.
I also had to
go fmt
theroot.go
file or the release will fail.