Skip to content

ci: use actions/create-github-app-token#1046

Merged
vbarua merged 2 commits into
substrait-io:mainfrom
nielspardon:par-gh-apptoken
May 8, 2026
Merged

ci: use actions/create-github-app-token#1046
vbarua merged 2 commits into
substrait-io:mainfrom
nielspardon:par-gh-apptoken

Conversation

@nielspardon
Copy link
Copy Markdown
Member

@nielspardon nielspardon commented Apr 13, 2026


This change is Reviewable

replaces the deprecated `tibdex/github-app-token` with `actions/create-github-app-token`

Signed-off-by: Niels Pardon <par@zurich.ibm.com>
Signed-off-by: Niels Pardon <par@zurich.ibm.com>
Comment on lines +27 to +31
# request token for both substrait and substrait-packaging repos
# for ci/release/notify.sh
repositories: |
substrait
substrait-packaging
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Member

@vbarua vbarua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating this. I can take a look at the permissions issue, but I think I also gave you the correct access now.

@vbarua vbarua merged commit 99ba9d1 into substrait-io:main May 8, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants