Skip to content

Commit

Permalink
Updating condition on which the check-404-links is run
Browse files Browse the repository at this point in the history
  • Loading branch information
flavienbwk committed Nov 12, 2023
1 parent 5ad9b13 commit 3dc865d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/markdownchecks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3dc865d

Please sign in to comment.