ci: only run vale for on pull requests

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-04-30 12:23:21 +02:00
parent af55d17b57
commit b7fb29eb62
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ jobs:
*.cache-to=type=gha,scope=build,mode=max
vale:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4