diff --git a/.github/workflows/workflow-validate.yaml b/.github/workflows/workflow-validate.yaml index 56b05a22..f0275a16 100644 --- a/.github/workflows/workflow-validate.yaml +++ b/.github/workflows/workflow-validate.yaml @@ -1,4 +1,4 @@ -name: validate +name: validate content on: repository_dispatch: @@ -6,15 +6,19 @@ on: push: branches: - master + paths: + - 'content/**' pull_request: types: [opened, synchronize, ready_for_review, reopened] + paths: + - 'content/**' jobs: markdown: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Markdownlint run: | @@ -31,7 +35,7 @@ jobs: ZENDESK_PASS: ${{ secrets.ZENDESK_TOKEN }} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Preview changes run: |