From 01f3c700c107cbab89f1b99bbbc935156cd25017 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 5 Sep 2021 23:21:40 +0100 Subject: [PATCH] :anger: Action to prevent inapropriate lang in comments --- .github/workflows/mind-your-language.yml | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/mind-your-language.yml 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/mind-your-language-action@v1.0.3 + env: + GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }} \ No newline at end of file