mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-24 09:22:53 +03:00
20 lines
524 B
YAML
20 lines
524 B
YAML
# Detects offensive language in comments and takes reaction
|
|
name: 🎯 Mind your language
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
issue_comment:
|
|
types: [created]
|
|
pull_request:
|
|
types: [opened]
|
|
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 }} |