From fd80ef8d1c203082f5041c82033e8c9a52e12427 Mon Sep 17 00:00:00 2001 From: Alessandro Aimi Date: Sun, 13 Oct 2024 13:52:59 +0200 Subject: [PATCH] Fix linting.yml --- .github/workflows/linting.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index ec574af11e..e2ecb805cf 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -17,6 +17,7 @@ jobs: timeout-minutes: 180 env: CLANG_TIDY_OUTPUT: clang-tidy-output.log + CI_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} steps: # The following step is required in all jobs that use this repo's actions - name: "Retrieve actions from repository" @@ -61,8 +62,6 @@ jobs: 1> $CLANG_TIDY_OUTPUT 2> /dev/null || true ; fi - env: - CI_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} - name: "Trim empty lines from output file" run: sed -i '/^$/d' $CLANG_TIDY_OUTPUT - name: "Check job results"