ci: use actions/create-github-app-token#1046
Conversation
replaces the deprecated `tibdex/github-app-token` with `actions/create-github-app-token` Signed-off-by: Niels Pardon <par@zurich.ibm.com>
e6bb85f to
7e1d1d0
Compare
Signed-off-by: Niels Pardon <par@zurich.ibm.com>
| # request token for both substrait and substrait-packaging repos | ||
| # for ci/release/notify.sh | ||
| repositories: | | ||
| substrait | ||
| substrait-packaging |
There was a problem hiding this comment.
@vbarua I think this should help with the 403 we are getting currently:
[4:43:35 AM] [semantic-release] [@semantic-release/exec] › ℹ Call script ci/release/notify.sh 0.88.0
could not create workflow dispatch event: HTTP 403: Resource not accessible by integration (https://api.github.com/repos/substrait-io/substrait-packaging/actions/workflows/226147488/dispatches)
https://github.com/substrait-io/substrait/actions/runs/24298853195/job/70948495423#step:5:156
There was a problem hiding this comment.
I think we also need to change the permissions for the Github App to include Actions write access to allow it to dispatch the workflow run in the substrait-packaging repo. This requires Github org admin permissions which apparently PMC members do not have.
There was a problem hiding this comment.
Based on https://docs.github.com/en/rest/actions/workflows?apiVersion=2026-03-10#create-a-workflow-dispatch-event, I added Actions: Write permissions to the Substrait Project Bot.
Going to merge this, and we can see if that solves the issue in the next release.
vbarua
left a comment
There was a problem hiding this comment.
Thanks for updating this. I can take a look at the permissions issue, but I think I also gave you the correct access now.
tibdex/github-app-tokenwithactions/create-github-app-tokenci/release/notify.shscriptThis change is