fix: remove non-stargazer check from welcome-new-users.yml - #22
Merged
Merged
Conversation
STAR_MESSAGE input made wow-actions/welcome call GET /repos/{owner}/{repo}/stargazers
to check if the author starred the repo, which needs a GITHUB_TOKEN permission that
Actions can't grant. This made the whole step fail with "Resource not accessible by
integration" on every first-time issue/PR, so the welcome comment never posted.
Fixes #21
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Yacine Kheddache <yacine@microcks.io>
yada
force-pushed
the
fix/welcome-star-check-permission
branch
from
September 29, 2026 16:36
9ceab9f to
a0f3331
Compare
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.
Summary
STAR_MESSAGEmadewow-actions/welcomecallGET /repos/{owner}/{repo}/stargazersto checkif the author starred the repo — that call needs a GITHUB_TOKEN permission Actions can't grant,
so the step failed with
HttpError: Resource not accessible by integrationon every first-timeissue/PR (see reshapr run https://github.com/reshaprio/reshapr/actions/runs/36595188872).
STAR_MESSAGEand folded the same star tip directly intoFIRST_ISSUEandFIRST_PR,so it's always shown instead of conditional on stargazer status. No permission or token changes
needed.
Fixes #21
Test plan
confirm the welcome comment posts successfully with the star tip included
consumer repos without the same failure recurring