Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,17 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'substrait-io/substrait'
steps:
- uses: tibdex/github-app-token@v2
- uses: actions/create-github-app-token@v3
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
client-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
# request token for both substrait and substrait-packaging repos
# for ci/release/notify.sh
repositories: |
substrait
substrait-packaging
Comment on lines +27 to +31
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.


- uses: actions/checkout@v6
with:
Expand Down