diff --git a/.github/workflows/profanity.yml b/.github/workflows/profanity.yml new file mode 100644 index 0000000..0e79e05 --- /dev/null +++ b/.github/workflows/profanity.yml @@ -0,0 +1,20 @@ +name: Profanity check + +on: + issues: + types: [opened, edited] + issue_comment: + types: [created, edited] + pull_request: + types: [opened, edited] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - name: Profanity filter + uses: radiantly/profanity-filter-action@v1.1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }}