-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
chore: add a comment on first time contributors PRs instead of bloating the PR template #6672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
CommanderStorm
merged 9 commits into
louislam:master
from
CommanderStorm:new-contributor-comment
Jan 11, 2026
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
47553a4
add a comment on first time controbutors PRs
CommanderStorm d63b5ba
Merge branch 'master' into new-contributor-comment
CommanderStorm bc2390d
fix fmt
CommanderStorm a1e1652
Update .github/workflows/new_contributor_pr.yml
CommanderStorm 2c15134
Update .github/PULL_REQUEST_TEMPLATE.md
CommanderStorm 6da0279
Update .github/PULL_REQUEST_TEMPLATE.md
CommanderStorm de3984c
Update .github/workflows/new_contributor_pr.yml
CommanderStorm 4bcc3a4
added zizmor ignore comment
CommanderStorm ce9c3eb
Apply suggestion from @CommanderStorm
CommanderStorm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| name: New contributor message | ||
|
|
||
| on: | ||
| # Safety | ||
| # This workflow uses pull_request_target so it can run with write permissions on first-time contributor PRs. | ||
| # It is safe because it does not check out or execute any code from the pull request and | ||
| # only uses the pinned, trusted actions/first-interaction action | ||
| pull_request_target: # zizmor: ignore[dangerous-triggers] | ||
| types: [opened] | ||
| branches: | ||
| - master | ||
|
|
||
| permissions: | ||
| pull-requests: write | ||
|
|
||
| jobs: | ||
| build: | ||
| if: github.repository == 'louislam/uptime-kuma' | ||
| name: Hello new contributor | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 60 | ||
| steps: | ||
| - uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d # v3.1.0 | ||
| with: | ||
| repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
| pr-message: | | ||
| Hello! Thank you for your contribution 👋 | ||
|
|
||
| As this is your first contribution, please be sure to check out our | ||
| [Pull Request guidelines](https://github.com/louislam/uptime-kuma/blob/master/CONTRIBUTING.md#can-i-create-a-pull-request-for-uptime-kuma). | ||
|
|
||
| In particular: | ||
| - Mark your PR as Draft while you’re still making changes | ||
| - Mark it as Ready for review once it’s fully ready 🟢 | ||
|
|
||
| If you have any design or process questions, feel free to ask them right here in this pull request - unclear documentation is a bug too. | ||
|
|
||
| Thanks for helping keep Uptime Kuma alert and dependable 🐻 | ||
| Welcome aboard! | ||
CommanderStorm marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.