From 2233cbc5582c0a141f7fda77ffdb4c373368850f Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 12 Jan 2026 11:29:00 +0100 Subject: [PATCH] rework the new contributor workflow slightly --- .github/workflows/new_contributor_pr.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/new_contributor_pr.yml b/.github/workflows/new_contributor_pr.yml index 100ff18b3..082ffa6cb 100644 --- a/.github/workflows/new_contributor_pr.yml +++ b/.github/workflows/new_contributor_pr.yml @@ -6,7 +6,7 @@ on: # 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] + types: [opened, closed] branches: - master @@ -20,20 +20,21 @@ jobs: runs-on: ubuntu-latest timeout-minutes: 60 steps: - - uses: actions/first-interaction@1c4688942c71f71d4f5502a26ea67c331730fa4d # v3.1.0 + - uses: plbstl/first-contribution@4b2b042fffa26792504a18e49aa9543a87bec077 # v4.1.0 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - issue_message: "This is a required parameter, but we don't run on this event as we consider it a bit spammy.." - pr_message: | - Hello! Thank you for your contribution ๐Ÿ‘‹ + pr-reactions: rocket + pr-opened-msg: > + Hello and thanks for lending a paw to Uptime Kuma! ๐Ÿป๐Ÿ‘‹ - 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). + 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 ๐ŸŸข + - 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. + pr-merged-msg: > + @{fc-author} congrats on your first contribution to Uptime Kuma! ๐Ÿป - Thanks for lending a paw to Uptime Kuma ๐Ÿป + We hope you enjoy contributing to our project and look forward to seeing more of your work in the future! + If you want to see your contribution in action, please see our [nightly builds here](https://hub.docker.com/layers/louislam/uptime-kuma/nightly2).