Azure OpenAI Integration - add instructions for working with deployments #2850
This file contains 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: | |
contents: read | |
jobs: | |
apply-filter: | |
name: Apply profanity filter | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
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@7b35b30e0d01d3c4a63a57b2ec5db0768bc4d53b # main | |
id: profanity-filter | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
replacement-strategy: bold-grawlix |