feat: Welcome first-time contributors with comment commands guide#5222
Queued
Ma77Ball wants to merge 4 commits into
Queued
feat: Welcome first-time contributors with comment commands guide#5222Ma77Ball wants to merge 4 commits into
Ma77Ball wants to merge 4 commits into
Conversation
…xisting-some-null # Conflicts: # amber/src/test/scala/org/apache/texera/web/service/ExecutionsMetadataPersistServiceSpec.scala
Yicong-Huang
approved these changes
May 26, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5222 +/- ##
============================================
- Coverage 48.57% 48.55% -0.02%
+ Complexity 2379 2374 -5
============================================
Files 1042 1042
Lines 39971 39971
Branches 4252 4252
============================================
- Hits 19415 19409 -6
- Misses 19410 19412 +2
- Partials 1146 1150 +4
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
What changes were proposed in this PR?
.github/workflows/welcome-first-time-contributor.yml, which posts a single welcome comment listing the/take,/untake,/sub-issue,/unsub-issue,/parent-issue,/unparent-issue,/request-review, and/unrequest-reviewcommands when a new contributor opens their first issue or PR.repo:<owner>/<repo> is:issue|pr author:<login>, treatingtotal_count <= 1as first time). This works uniformly for issues and PRs, whereasauthor_associationreportsNONEfor someone opening their first issue, and would miss them.pull_request_target(notpull_request) so PRs from forks still receive the welcome with a write-capable token; restrict permissions toissues: writeandpull-requests: write.<!-- texera:welcome-first-time-contributor -->) embedded in the welcome body and checked against existing comments before posting, so workflow re-runs and reopen races do not duplicate the welcome.Any related issues, documentation, or discussions?
Closes: #5166
How was this PR tested?
python3 -c "import yaml; yaml.safe_load(open('.github/workflows/welcome-first-time-contributor.yml'))".<= 1check tolerates both 0, not yet indexed, and 1, only the new item), transientlistCommentsfailure (falls open rather than dropping a genuine first-timer's welcome), and Bot guard at the job-levelif.Was this PR authored or co-authored using generative AI tooling?
Co-Authored with Claude Opus 4.7 in compliance with ASF Guidelines