From a1cbf08c9f7c723fd2992e4e34b789c9c646efda Mon Sep 17 00:00:00 2001 From: Shahed nasser Date: Fri, 20 Oct 2023 13:01:52 +0300 Subject: [PATCH] fix vale action's condition --- .github/workflows/docs-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-test.yml b/.github/workflows/docs-test.yml index 33b53d87fc7bc..9dc556f4fe58e 100644 --- a/.github/workflows/docs-test.yml +++ b/.github/workflows/docs-test.yml @@ -73,7 +73,7 @@ jobs: REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }} vale-ui: - if: ${{ startsWith(github.ref, 'docs/') }} + if: ${{ startsWith(github.head_ref, 'docs/') }} runs-on: ubuntu-latest steps: - name: Cancel Previous Runs