Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:anger: Action to prevent inapropriate lang in comments

Alicia Sykes01f3c700c107
diff --git a/.github/workflows/mind-your-language.yml b/.github/workflows/mind-your-language.yml
new file mode 100644
index 00000000..b32e55ec
--- /dev/null
+++ b/.github/workflows/mind-your-language.yml
@@ -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/[email protected]
+ env:
+ GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
\ No newline at end of file