PBM-1563 Documented retry on Location50917 error as a FAQ item #592
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: Check docs with Vale | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| vale: | |
| name: runner / vale | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| #Configure git | |
| - name: Configure git | |
| env: | |
| ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }} | |
| run: | | |
| git config --global url."https://percona-platform-robot:${ROBOT_TOKEN}@github.com".insteadOf "https://github.com" | |
| git config user.name "GitHub Action" | |
| git config user.email "[email protected]" | |
| git config user.password "${ROBOT_TOKEN}" | |
| echo "GIT_USER=percona-platform-robot:${ROBOT_TOKEN}" >> $GITHUB_ENV | |
| #Run check | |
| - name: reviewdog | |
| uses: errata-ai/vale-action@reviewdog | |
| with: | |
| vale_flags: "--glob=*.md" | |
| # fail_on_error: true | |
| reporter: github-check | |
| env: | |
| # Required, set by GitHub actions automatically: | |
| # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |