From a0f3331a1c7cc6e5f5fff4b03e53a66ac9c84e72 Mon Sep 17 00:00:00 2001 From: Yacine Kheddache Date: Tue, 29 Sep 2026 18:34:11 +0200 Subject: [PATCH] fix: remove non-stargazer check from welcome-new-users.yml 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 Signed-off-by: Yacine Kheddache --- .github/workflows/welcome-new-users.yml | 32 +++++++++++++------------ 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/welcome-new-users.yml b/.github/workflows/welcome-new-users.yml index 8cfa4b3..adab030 100644 --- a/.github/workflows/welcome-new-users.yml +++ b/.github/workflows/welcome-new-users.yml @@ -1,9 +1,11 @@ # Welcome new users by commenting on the first-time issue/PR. -# Adding a friendly message in the comment to tip non-stargazers to star our repo. +# Includes an always-on star tip (not conditional on stargazer status, since +# checking that requires a GITHUB_TOKEN permission that isn't grantable to +# Actions' GITHUB_TOKEN and causes "Resource not accessible by integration"). # -# Props to https://github.com/wow-actions/welcome +# Props to https://github.com/wow-actions/welcome -name: Welcome New Users with Thanks and Tip non-stargazers ;-) +name: Welcome New Users with Thanks ;-) on: pull_request_target: types: [opened, closed] @@ -35,7 +37,11 @@ jobs: 📢 If you're using reShapr in your organization, please [add your company name to this list](https://github.com/reshaprio/.github/blob/main/ADOPTERS.md). 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. Hope you have a great time there! - + + 🌟 ~~~~~~~~~ 🌟 + + 📢 If you like reShapr, please ⭐ star ⭐ our repo to support it! + FIRST_PR_REACTIONS: '+1, hooray, rocket, heart' FIRST_PR: | @@ -44,9 +50,13 @@ jobs: Welcome to the reShapr community! 💖 Thanks and congrats 🎉 for opening your first pull request here! Be sure to follow the pull request template or please update it accordingly. - - Hope you have a great time there! - + + Hope you have a great time there! + + 🌟 ~~~~~~~~~ 🌟 + + 📢 If you like reShapr, please ⭐ star ⭐ our repo to support it! + FIRST_PR_MERGED: | 🎉 @{{ author }} @@ -57,11 +67,3 @@ jobs: 📢 If you're using reShapr in your organization, please [add your company name to this list](https://github.com/reshaprio/.github/blob/main/ADOPTERS.md). 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. Kudos and please keep going, we need you 🙌 - - STAR_MESSAGE: | - 🌟 ~~~~~~~~~ 🌟 - - 📢 If you like reShapr, please ⭐ star ⭐ our repo to support it! - - 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. -