From ec16c8d311254b5cf6ff204f09b4c839ec2292db Mon Sep 17 00:00:00 2001 From: JOM <74537369+jomzxc@users.noreply.github.com> Date: Sat, 8 Nov 2025 04:14:20 +0800 Subject: [PATCH] Refactor greetings workflow for better messaging Updated greetings workflow to enhance first interaction messages. --- .github/workflows/greetings.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..ca242e8 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,21 @@ +name: Greetings + +on: + pull_request_target: + issues: + +jobs: + greet-contributor: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - name: First Interaction Greeting + uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: | + 👋 Hello! Thanks for opening your first issue. We’re thrilled to have you here. Please include as much detail as possible so we can help effectively. + pr-message: | + 🚀 Thanks for your first pull request! We appreciate your effort and will review it soon. Feel free to check out our contribution guidelines if you haven’t already.