feat: implemented flag conflicts in deploy.ts
#16876
Workflow file for this run
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: Lint Docs | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
checks: write | |
jobs: | |
lint-docs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Download styles | |
run: | | |
curl -s https://vale-library.netlify.app/styles.zip -o styles.zip | |
unzip styles.zip -d .github/styles | |
rm styles.zip | |
- name: Vale | |
uses: errata-ai/vale-action@v2 | |
with: | |
files: '["docs", "src", "README.md", "CODE_OF_CONDUCT.md", "CONTRIBUTING.md"]' | |
fail_on_error: true | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |