From 1bf82774b20a60a04cbdf49c929acbb161be84b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Mon, 2 Jun 2025 10:37:06 -0300 Subject: [PATCH] ci: comment-new-pr: Add comment when PR is created MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- .github/workflows/comment-new-pr.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/comment-new-pr.yml diff --git a/.github/workflows/comment-new-pr.yml b/.github/workflows/comment-new-pr.yml new file mode 100644 index 00000000..717a8166 --- /dev/null +++ b/.github/workflows/comment-new-pr.yml @@ -0,0 +1,20 @@ +name: Comment on PR creation + +on: + pull_request: + types: [opened] + +jobs: + comment: + runs-on: ubuntu-latest + steps: + - name: Comment on new PR + uses: peter-evans/create-or-update-comment@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.pull_request.number }} + body: | + 🚀 Thanks sending the PR @${{ github.event.pull_request.user.login }}! + It'll be reviewed by the team soon. + If you have any questions, please feel free to ask. + Thanks!