From eb06322d4de0edace2c26a83382698d183385d14 Mon Sep 17 00:00:00 2001 From: Avelino Date: Sat, 18 Mar 2023 08:37:22 -0300 Subject: [PATCH] auto msg first comment in PR --- .../workflows/pull-request-first-comment.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pull-request-first-comment.yaml diff --git a/.github/workflows/pull-request-first-comment.yaml b/.github/workflows/pull-request-first-comment.yaml new file mode 100644 index 00000000..e2b10441 --- /dev/null +++ b/.github/workflows/pull-request-first-comment.yaml @@ -0,0 +1,24 @@ +name: Fist comment in new pull request + +on: + pull_request: + types: [opened] + +jobs: + commentCreated: + runs-on: ubuntu-latest + steps: + - name: first comment + uses: peter-evans/create-or-update-comment@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: 1 + body: | + Thank you for contributing with [awesome-go](https://awesome-go.com/), we will revise your contribution as soon as possible. + + Make sure you add the links in the body of the pull request that are requested in the [contribution guide](https://github.com/avelino/awesome-go/blob/main/CONTRIBUTING.md): + - godoc.org or pkg.go.dev + - goreportcard.com + - coverage + + > your project is about to be approved, it's under revision, it may take a few days