Update automode-learn-instances.adoc #200
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: AWS Brand Checks | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| style-job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out | |
| uses: actions/checkout@v3 | |
| # Vale uses asciidoctor | |
| - name: Install Asciidoctor | |
| run: sudo apt-get install -y asciidoctor | |
| - name: Enforce AWS Brand Attribute | |
| uses: errata-ai/vale-action@reviewdog | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| with: | |
| fail_on_error: true | |
| reporter: github-pr-check | |
| filter_mode: added | |
| files: latest/ug | |
| vale_flags: "--config brand.vale.ini" | |
| continue-on-error: false |