ci: use Github App Client ID in action#1073
Merged
Merged
Conversation
Signed-off-by: Niels Pardon <par@zurich.ibm.com>
Member
|
Looks like that wasn't the issue 😞 |
Member
|
I updated the Client ID secret to use the Substrait Project Bot. That did not fix the release issue. I then updated the private key, and that did: https://github.com/substrait-io/substrait/actions/runs/25701430480/job/75462217350 |
Member
|
It looks like this also triggered the substrait-packager release action correctly... though it failed to get the tag that was just created. Might need to have it wait a bit before starting. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue
It looks like the CI modification introduced by me in #1046 broke the release build.
https://github.com/substrait-io/substrait/actions/runs/25620857187/job/75207049880
Cause
After some investigation I found these comments which both point to the issue being caused by using the Github App ID instead of the Github App Client ID:
A JSON web token could not be decodederror when running action actions/create-github-app-token#153 (comment)A JSON web token could not be decodederror when running action actions/create-github-app-token#153 (comment)Since in #1046 I switched both the Github action and the corresponding configuration from app id to client id I suspect this is causing our issue here.
Solution
I created a new Github Actions secret
APP_CLIENT_IDwith the client ID value for the project bot app.This PR switches from the
APP_IDsecret to theAPP_CLIENT_IDsecret which hopefully should fix this issue.This change is