Thanks for your contribution. But I maybe refuse.
name: PR Welcome
on:
pull_request_target:
types: [opened, edited, reopened]
jobs:
welcome:
runs-on: ubuntu-latest
steps:
- uses: actions-cool/pr-welcome@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
refuse-issue-label: 'xxx'
need-creator-authority: 'write'
comment: |
HI ~
ไฝ ๅฅฝ~
emoji: '+1, -1, heart'
reviewers: 'user1, user2'
review-creator: false
close: true
Name |
Desc |
Type |
Required |
token |
GitHub token |
string |
โ |
refuse-issue-label |
Only when the label included in the issue mentioned in the PR is triggered |
string |
โ |
need-creator-authority |
Filter the permissions of the creator. Option: read write admin |
string |
โ |
comment |
Comment content after filter |
string |
โ |
emoji |
Comment emoji |
string |
โ |
pr-emoji |
Add emoji to PR |
string |
โ |
close |
If close pr |
boolean |
โ |
reviewers |
Add reviewers to PR |
string |
โ |
review-creator |
If creator review. Default true |
boolean |
โ |
- When has
refuse-issue-label
or need-creator-authority
, it will start filter mode
- Comment only once in a PR
- Triger event only support
pull_request
and pull_request_target
. When use pull_request
, the Action will only show the CI status icon(Because of permissions). When use pull_request_target
, must see
- Can use v1 or v1.2.0
CHANGELOG
content |
emoji |
+1 |
๐ |
-1 |
๐ |
laugh |
๐ |
confused |
๐ |
heart |
โค๏ธ |
hooray |
๐ |
rocket |
๐ |
eyes |
๐ |
MIT