diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..2010397 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,2 @@ +[codespell] +skip = .git diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..df18e8f --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,21 @@ +name: Codespell + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Codespell + uses: codespell-project/actions-codespell@v2 diff --git a/.github/workflows/misspell.yml b/.github/workflows/misspell.yml deleted file mode 100644 index 82da126..0000000 --- a/.github/workflows/misspell.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: misspell - -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * *' - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - uses: sobolevn/misspell-fixer-action@0.1.0 - - uses: peter-evans/create-pull-request@v6 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: 'Fixes by misspell-fixer' - title: 'Typos fix by misspell-fixer' diff --git a/specs/openapi.json b/specs/openapi.json index 6dcc48c..446e8b4 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -6610,7 +6610,7 @@ "Files" ], "summary": "Redact the contents of a file.", - "description": "Redact a file to remove all collected information from Falu.\nThis will redact the File and all objects related to it,\nincluding Events, request logs, etc.\n\nRedacting a file is also done when related objects such as identity verifications are redacted.\nAs such, you do not need to redact each file created in the process.\nRedacting a file is useful if you uploaded a file that you have not used and have\nno intension of doing so, such as one that was uploaded by mistake.\n\nWhen the redaction process completes a `file.redacted` event will be emitted.\n\nRedaction is irreversible. Redacted objects are still accessible in the API,\nbut all the fields that contain personal data will be replaced by the string\n`[redacted]` or a similar placeholder. The metadata field will also be erased.\nRedacted objects cannot be updated or used for any purpose.", + "description": "Redact a file to remove all collected information from Falu.\nThis will redact the File and all objects related to it,\nincluding Events, request logs, etc.\n\nRedacting a file is also done when related objects such as identity verifications are redacted.\nAs such, you do not need to redact each file created in the process.\nRedacting a file is useful if you uploaded a file that you have not used and have\nno intention of doing so, such as one that was uploaded by mistake.\n\nWhen the redaction process completes a `file.redacted` event will be emitted.\n\nRedaction is irreversible. Redacted objects are still accessible in the API,\nbut all the fields that contain personal data will be replaced by the string\n`[redacted]` or a similar placeholder. The metadata field will also be erased.\nRedacted objects cannot be updated or used for any purpose.", "operationId": "files-redact", "parameters": [ { @@ -15272,7 +15272,7 @@ "message.sent": "Occurs whenever a message is sent.", "message.failed": "Occurs whenever a message fails to send.", "message.delivered": "Occurs whenever a message is delivered successfully.", - "message.read": "Occurs whenever a message is read by the recepient.", + "message.read": "Occurs whenever a message is read by the recipient.", "message.cancelled": "Occurs whenever the message has been cancelled and future\nupdate attempts have been disabled.", "message.redacted": "Occurs whenever a message has been redacted.", "message.received": "Occurs whenever an incoming message is received.", diff --git a/specs/openapi.yaml b/specs/openapi.yaml index dc006f5..e44c8e0 100644 --- a/specs/openapi.yaml +++ b/specs/openapi.yaml @@ -4380,7 +4380,7 @@ paths: Redacting a file is also done when related objects such as identity verifications are redacted. As such, you do not need to redact each file created in the process. Redacting a file is useful if you uploaded a file that you have not used and have - no intension of doing so, such as one that was uploaded by mistake. + no intention of doing so, such as one that was uploaded by mistake. When the redaction process completes a `file.redacted` event will be emitted. @@ -10437,7 +10437,7 @@ components: message.sent: Occurs whenever a message is sent. message.failed: Occurs whenever a message fails to send. message.delivered: Occurs whenever a message is delivered successfully. - message.read: Occurs whenever a message is read by the recepient. + message.read: Occurs whenever a message is read by the recipient. message.cancelled: |- Occurs whenever the message has been cancelled and future update attempts have been disabled.