diff --git a/.github/workflows/markdownchecks.yml b/.github/workflows/markdownchecks.yml index 47654e5..e85dc43 100644 --- a/.github/workflows/markdownchecks.yml +++ b/.github/workflows/markdownchecks.yml @@ -9,7 +9,7 @@ jobs: # Only on main or PR to main check-404-links: name: Check for dead links - if: github.ref == 'refs/heads/main' || (github.event_name == 'pull_request' && github.head_ref == 'refs/heads/main') + if: github.ref == 'refs/heads/main' || (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main') runs-on: ubuntu-20.04 steps: - name: Checkout