From edaf39f24b7adf8604f5922cd90e004516b8becf Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Fri, 26 Jan 2024 13:33:18 -0500 Subject: [PATCH] ${GITHUB_HEAD_REF} --- .github/workflows/pull_request.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 7780de65..c88f7896 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -61,7 +61,7 @@ jobs: check_type: spelling error_min: 3 gh_pat: secrets.GH_PAT - branch_name: ${GITHUB_REF#refs/heads/} + branch_name: ${GITHUB_HEAD_REF} url-check: name: Check URLs @@ -72,7 +72,7 @@ jobs: check_type: urls error_min: 0 gh_pat: secrets.GH_PAT - branch_name: ${GITHUB_REF#refs/heads/} + branch_name: ${GITHUB_HEAD_REF} quiz-check: name: Check quiz formatting @@ -83,7 +83,7 @@ jobs: check_type: quiz_format error_min: 0 gh_pat: secrets.GH_PAT - branch_name: ${GITHUB_REF#refs/heads/} + branch_name: ${GITHUB_HEAD_REF} ############################# Style the code ################################### style-code: