Skip to content

Merge main into live #139

Merge main into live

Merge main into live #139

name: Profanity filter
on:
issue_comment:
types: [created, edited]
issues:
types: [opened, edited, reopened]
pull_request:
types: [opened, edited, reopened]
permissions:
issues: write
pull-requests: write
jobs:
apply-filter:
name: Apply profanity filter
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Profanity filter
if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' }}
uses: IEvangelist/profanity-filter@840020b719c619d953959e59c47185689e831a27 # main
id: profanity-filter
with:
token: ${{ secrets.GITHUB_TOKEN }}
replacement-strategy: redacted-rectangle