Skip to content

PBM-1194 Added SSE-KMS configuration to SSE doc #75

PBM-1194 Added SSE-KMS configuration to SSE doc

PBM-1194 Added SSE-KMS configuration to SSE doc #75

Workflow file for this run

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
#Check spelling
- name: Spell check
uses: tj-actions/changed-files@v35
id: changed-files
with:
files: docs/*.md
- uses: DavidAnson/markdownlint-cli2-action@v10
continue-on-error: true
if: steps.changed-files.outputs.any_changed == 'true'
with:
command: config
globs: |
.markdownlint-cli2.yaml
${{ steps.changed-files.outputs.all_changed_files }}
# separator: ","
#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}}