Skip to content

Use non-default token for builds to ensure cross-org repo accessibility#531

Merged
fantkolja merged 2 commits into
mainfrom
Use-non-default-token-for-builds-to-ensure-cross-org-repo-accessibility
May 26, 2026
Merged

Use non-default token for builds to ensure cross-org repo accessibility#531
fantkolja merged 2 commits into
mainfrom
Use-non-default-token-for-builds-to-ensure-cross-org-repo-accessibility

Conversation

@JackPGreen
Copy link
Copy Markdown
Contributor

@JackPGreen JackPGreen commented May 26, 2026

The workflow introduced in #527 uses the default token, whose access is restricted to the workflow the action is executing inside of, hence when used to access other repos it errors:

[SWAGGER_UI] Failed to fetch https://github.com/hazelcast/hazelcast-mono/blob/master/docs/rest/modules/maintain-cluster/attachments/api-docs.yaml: Failed to fetch from GitHub API: GitHub API error: Not Found

Instead we should use a org-scoped PAT.

I have not tested this change as unsure of the side effects of executing workflow.

@JackPGreen JackPGreen requested a review from fantkolja May 26, 2026 16:34
@JackPGreen JackPGreen requested a review from a team as a code owner May 26, 2026 16:34
@fantkolja fantkolja merged commit 027ca85 into main May 26, 2026
6 checks passed
@fantkolja fantkolja deleted the Use-non-default-token-for-builds-to-ensure-cross-org-repo-accessibility branch May 26, 2026 17:34
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