mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-24 09:22:53 +03:00
26 lines
604 B
YAML
26 lines
604 B
YAML
|
# Detects offensive language in comments and takes reaction
|
||
|
name: Mind your 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/mind-your-language-action@v1.0.3
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|