From 9216a3f846268ba00d0fe922055536b06dc975b3 Mon Sep 17 00:00:00 2001 From: Ruben Vorderman <r.h.p.vorderman@lumc.nl> Date: Wed, 9 Feb 2022 15:53:13 +0100 Subject: [PATCH] Specifically check origin --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 332a9e0..c78b259 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -64,7 +64,7 @@ jobs: # Womtool validate checks very slowly, so this saves a lot of time. run: | bash -c ' - for WDL_FILE in $(git diff --name-only ${{github.base_ref}} | grep -E '*.wdl$'); do + for WDL_FILE in $(git diff --name-only origin/${{github.base_ref}} | grep -E '*.wdl$'); do womtool validate $WDL_FILE done ' -- GitLab