2021-09-06 01:21:40 +03:00
|
|
|
# Detects offensive language in comments and takes reaction
|
2021-09-12 23:45:41 +03:00
|
|
|
name: 🎯 Mind your language
|
2021-09-06 01:21:40 +03:00
|
|
|
on:
|
|
|
|
issues:
|
2021-10-03 02:09:24 +03:00
|
|
|
types: [opened]
|
2021-09-06 01:21:40 +03:00
|
|
|
issue_comment:
|
2021-10-03 02:09:24 +03:00
|
|
|
types: [created]
|
|
|
|
pull_request:
|
|
|
|
types: [opened]
|
2021-09-06 01:21:40 +03:00
|
|
|
jobs:
|
|
|
|
echo_issue_comment:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: profanity check
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Profanity check step
|
|
|
|
uses: tailaiw/mind-your-language-action@v1.0.3
|
|
|
|
env:
|
2021-11-10 21:37:14 +03:00
|
|
|
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
|