From aad8f48247aff9660055b5722c1c53384cfbf60b Mon Sep 17 00:00:00 2001 From: devops Date: Tue, 13 Feb 2024 20:47:36 -0700 Subject: [PATCH] pass flag --dry-run instead of bool --- .github/workflows/test.yaml | 2 +- action.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f1dbf3a..663a620 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -37,4 +37,4 @@ jobs: org: 'runtimeverification' repo: ${{ matrix.value }} token: ${{ secrets.JENKINS_GITHUB_PAT }} - debug: true + debug: --dry-run diff --git a/action.yaml b/action.yaml index b65dbdd..432b99e 100644 --- a/action.yaml +++ b/action.yaml @@ -17,7 +17,7 @@ inputs: debug: description: 'Debug mode' required: false - default: 'false' + default: '' outputs: merged: value: ${{ steps.automerge.outputs.merged }} @@ -53,5 +53,5 @@ runs: env: GITHUB_TOKEN: ${{ inputs.token }} working-directory: tmp-${{ inputs.repo }} - run: python3 ${{ github.action_path }}/src/automerge.py --org ${{ inputs.org }} --repo ${{ inputs.repo }} --dry-run ${{ inputs.debug }} + run: python3 ${{ github.action_path }}/src/automerge.py --org ${{ inputs.org }} --repo ${{ inputs.repo }} ${{ inputs.debug }}