From 8ae9e83dbf069fe9b35475b83a3d1ec43b7ed171 Mon Sep 17 00:00:00 2001 From: Dinesh Kumar Sutihar <110833165+dineshsutihar@users.noreply.github.com> Date: Sun, 3 Aug 2025 13:04:59 +0530 Subject: [PATCH] feat: Add workflow to welcome new contributors --- .github/workflows/welcome.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/welcome.yml diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml new file mode 100644 index 0000000..0eee6c0 --- /dev/null +++ b/.github/workflows/welcome.yml @@ -0,0 +1,26 @@ +name: Welcome First-Time Contributors + +on: + pull_request_target: + types: [opened] + issues: + types: [opened] + +jobs: + greet: + runs-on: ubuntu-latest + permissions: + pull-requests: write + issues: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: | + Hello @${{ github.actor }}! 👋 + Thank you so much for taking the time to open your first issue with CodeTranslateAI. We appreciate you helping us make the project better! + We'll take a look and get back to you soon. + pr-message: | + Hi @${{ github.actor }}! 🎉 + Welcome, and thank you for submitting your first pull request to CodeTranslateAI! We're thrilled to have your contribution. + Please make sure you've read our CONTRIBUTING.md guide. We'll review your changes shortly.