-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close #26 * Added greeting message for PR and Issues * Added action for abusive language * Updated token name on greetings.yml * Updated token name on language.yml
- Loading branch information
1 parent
c5c8d28
commit 0720518
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Greetings | ||
|
||
on: [pull_request, issues] | ||
|
||
jobs: | ||
greeting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: 'Hello @${{ github.actor }}, thank you for raising an issue. Make sure to provide a detailed description about it. Maintainers will review the issue and get back to you shortly.' | ||
pr-message: 'Hello @${{ github.actor }}, thank you for making the project better with your contribution. Please make sure you have followed our coding guidelines. You are awesome!.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Bad Language | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
- edited | ||
issue_comment: | ||
types: | ||
- created | ||
- edited | ||
pull_request_review_comment: | ||
types: | ||
- created | ||
- edited | ||
jobs: | ||
echo_issue_comment: | ||
runs-on: ubuntu-latest | ||
name: profanity check | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Profanity check step | ||
uses: tailaiw/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |