// Source - https://stackoverflow.com/a/79826426 // Posted by Jon █████ // Retrieved 2025-11-21, License - CC BY-SA 4.0 namespace Q79826396; public static class Extensions { public static void OldMethod(this object x, params string[] scopes) #24828
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2 | |
| with: | |
| egress-policy: audit | |
| - name: Profanity filter | |
| if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' }} | |
| uses: IEvangelist/profanity-filter@221fd3e2de42e4aa8acc56d0739b1134065a54be # main | |
| id: profanity-filter | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| replacement-strategy: redacted-rectangle |