Skip to content

Commit

Permalink
fix vale action's condition
Browse files Browse the repository at this point in the history
  • Loading branch information
shahednasser committed Oct 20, 2023
1 parent ceb566d commit a1cbf08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1cbf08

Please sign in to comment.