mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-25 14:44:49 +02:00
💢 Action to prevent inapropriate lang in comments
This commit is contained in:
parent
5cc5ffac9a
commit
01f3c700c1
26
.github/workflows/mind-your-language.yml
vendored
Normal file
26
.github/workflows/mind-your-language.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# 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 }}
|
Loading…
x
Reference in New Issue
Block a user