From d0a5b039dd02400d4203717c4cfa45dcd369845c Mon Sep 17 00:00:00 2001 From: Laszlo Gombos Date: Thu, 1 Dec 2022 16:34:13 +0000 Subject: [PATCH] ci: set DEBUGFAIL to rd.debug when debug logging is enabled GitHub Actions allow to opt-in to more debug logging both on web UI and on the command line. When GitHub Action debug logging is enabled also enable additional dracut test debugging by setting DEBUGFAIL to rd.debug. This is particularly useful when re-run failed jobs with debug logging enabled. --- .github/workflows/integration.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 9d7c0aea4..159f6636c 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -4,6 +4,9 @@ on: pull_request: branches: [ master ] +env: + DEBUGFAIL: "${{ secrets.ACTIONS_STEP_DEBUG && 'rd.debug' }}" + jobs: basic: runs-on: ubuntu-latest -- 2.47.3