From 478f8a88dd9008e466b76c24d53cb94b0a90b3da Mon Sep 17 00:00:00 2001 From: "Josue [4tro] A" Date: Sun, 11 Feb 2024 15:13:52 -0500 Subject: [PATCH] Create greetings.yml added a workflow that will send a welcome message to all new contributors. --- .github/workflows/greetings.yml | 16 ++++++++++++++++ 1 file changed, 16 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..8a41c7f --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: "Welcome to the repository! Thank you for creating an issue. We'll get back to you as soon as possible." + pr-message: "Hello! Thanks for opening a pull request. We appreciate your contribution. Our team will review it shortly."