From a73c5fac384784ed844a25770ebe2ce61815d66f Mon Sep 17 00:00:00 2001 From: Zach Wasserman Date: Sun, 6 Jun 2021 19:18:28 -0700 Subject: [PATCH] Explicitly set base branch for markdown link check (#985) --- .github/workflows/docs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index bcc6342ed6..ed33f31b81 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,6 +1,6 @@ name: Check for bad links in documentation -on: [push, pull_request] +on: [ pull_request] jobs: markdown-link-check: @@ -12,3 +12,4 @@ jobs: check-modified-files-only: 'yes' use-quiet-mode: 'yes' config-file: .github/workflows/markdown-link-check-config.json + base-branch: ${{ github.base_ref }}