Add blog on building scalable multi-tenant systems with aws cdk #29
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: Spell Check and Grammar Check | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: ["content/blog/*"] | |
| jobs: | |
| spellcheck: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Get changed files | |
| id: changed-files | |
| uses: tj-actions/changed-files@v44 | |
| with: | |
| files: | | |
| content/blog/**.md | |
| - name: Run Spell Check Action | |
| uses: infraspecdev/[email protected] | |
| with: | |
| openai_api_key: ${{ secrets.OPENAI_API_KEY }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| github_repository: ${{ github.repository }} | |
| pr_number: ${{ github.event.number }} | |
| files: ${{ steps.changed-files.outputs.all_changed_files }} | |
| - name: Fail the job if spell check failed | |
| if: failure() | |
| run: exit 1 |