awesome-go/.github/workflows/pull-request-first-comment.yaml

28 lines
975 B
YAML
Raw Normal View History

2023-03-18 11:37:22 +00:00
name: Fist comment in new pull request
on:
pull_request:
types: [opened]
jobs:
commentCreated:
runs-on: ubuntu-latest
2023-04-05 10:38:02 +00:00
environment: action
2023-04-07 17:10:48 +00:00
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
2023-03-18 11:37:22 +00:00
steps:
- name: first comment
uses: peter-evans/create-or-update-comment@v2
with:
2023-04-05 10:38:02 +00:00
token: ${{ secrets.GH_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
2023-03-18 11:37:22 +00:00
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