chore(ci): update of CLA workflow #36
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: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Scan issue or pull request for profanity | |
| # Conditionally run the step if the actor isn't a bot | |
| if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'github-actions[bot]' }} | |
| uses: IEvangelist/profanity-filter@9.07 | |
| id: profanity-filter | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| # See https://bit.ly/potty-mouth-replacement-strategies | |
| replacement-strategy: middle-asterisk # See Replacement strategy | |
| custom-profane-words-url: https://github.com/Hesham-Elbadawi/list-of-banned-words/raw/refs/heads/master/ru |