From b4ead7e3d075aa7f82ef546224a087891ed93177 Mon Sep 17 00:00:00 2001 From: Fabrizio Ferri-Benedetti Date: Mon, 10 Nov 2025 09:21:55 +0100 Subject: [PATCH] Update vale-linting.yml --- .github/workflows/vale-linting.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/vale-linting.yml b/.github/workflows/vale-linting.yml index 7696b100..1926669b 100644 --- a/.github/workflows/vale-linting.yml +++ b/.github/workflows/vale-linting.yml @@ -1,26 +1,24 @@ name: Vale Documentation Linting on: - pull_request_target: # ← This is the key change - types: [opened, synchronize, reopened] + pull_request: paths: - '**.md' - '**.adoc' permissions: contents: read - pull-requests: write + pull-requests: write # Required for posting PR comments jobs: vale: runs-on: ubuntu-latest steps: - - name: Checkout PR branch + - name: Checkout 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: