Update ecf aws documentation structure and add cloudtrail log type #12
Workflow file for this run
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: Vale Documentation Linting | |
| on: | |
| pull_request_target: # ← This is the key change | |
| types: [opened, synchronize, reopened] | |
| paths: | |
| - '**.md' | |
| - '**.adoc' | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| vale: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR branch | |
| uses: actions/checkout@v5 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} # ← Checkout the PR's code | |
| fetch-depth: 0 | |
| - name: Run Elastic Vale Linter | |
| uses: elastic/vale-rules@main | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |