mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-18 14:31:40 +03:00
20 lines
548 B
YAML
20 lines
548 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 || secrets.GITHUB_TOKEN }} |