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

32 lines
1.0 KiB
YAML
Raw Normal View History

name: First comment in new pull request
2023-03-18 11:37:22 +00:00
on:
2023-10-04 14:38:44 +00:00
pull_request_target:
2023-03-18 11:37:22 +00:00
types: [opened]
jobs:
commentCreated:
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
2023-04-05 10:38:02 +00:00
environment: action
2023-04-07 17:10:48 +00:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2023-03-18 11:37:22 +00:00
steps:
- name: first comment
uses: peter-evans/create-or-update-comment@v3
2023-03-18 11:37:22 +00:00
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
2023-03-18 11:37:22 +00:00
body: |
Thank you for contributing to [awesome-go](https://awesome-go.com/). We will review your contribution as soon as possible.
2023-03-18 11:37:22 +00:00
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):
- repo link
- pkg.go.dev
2023-03-18 11:37:22 +00:00
- goreportcard.com
- coverage
> Your project is under review. It may take a few days to be approved.