i18n(zh-cn): Translate guides/cms/kontent-ai.mdx
(#4312)
#24
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: 'Format Code' | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
steps: | |
- name: Check out code using Git | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.head_ref }} | |
# Needs access to push to main | |
token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }} | |
- name: Install Tools & Dependencies | |
uses: ./.github/actions/install | |
- name: Format code | |
run: pnpm run format:ci | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: '[ci] format' | |
branch: ${{ github.head_ref }} | |
commit_user_name: fredkbot | |
commit_user_email: [email protected] |