mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
ci: Added a pull-request comment for approval helping
This commit is contained in:
committed by
GitHub
parent
e3ac5f596f
commit
142485a9a8
37
.github/workflows/pr-comment.yml
vendored
Normal file
37
.github/workflows/pr-comment.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: PR Comment
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
- reopened
|
||||
- unlocked
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
pr-comment:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: mshick/add-pr-comment@v2
|
||||
with:
|
||||
message-id: pr-test
|
||||
message: |
|
||||
Thanks for your contribution.
|
||||
|
||||
The next step is to wait for review and approval to merge it to main repository
|
||||
|
||||
The community can help reacting with a thumb up (:thumbsup:) for approval and rocket (:rocket:) for who has tested it.
|
||||
|
||||
To test this PR you can run the following command below:
|
||||
```
|
||||
# NPM
|
||||
npm install @whiskeysockets/baileys@${{ github.event.pull_request.head.repo.full_name }}#${{ github.event.pull_request.head.ref }}
|
||||
# YARN v2
|
||||
yarn add @whiskeysockets/baileys@${{ github.event.pull_request.head.repo.full_name }}#${{ github.event.pull_request.head.ref }}
|
||||
```
|
||||
Reference in New Issue
Block a user