From 3d06d78ff5249d1e7aa56620c8cfec89d3c69f29 Mon Sep 17 00:00:00 2001 From: "Bryan.Jenks" Date: Mon, 22 Jul 2024 10:34:13 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9BFIX:=20debug=20conditional?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/update-deployment-issue.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-deployment-issue.yml b/.github/workflows/update-deployment-issue.yml index 336c106..8f84d3b 100644 --- a/.github/workflows/update-deployment-issue.yml +++ b/.github/workflows/update-deployment-issue.yml @@ -69,7 +69,7 @@ jobs: echo "PROJECT_ID=$PROJECT_ID" >> $GITHUB_OUTPUT - name: DEBUG - PROJECT_ID - if: env.debug == true + if: ${{ github.event.inputs.debug == 'true' }} run: echo "PROJECT_ID = ${{steps.project-id.outputs.PROJECT_ID}}" - name: Get issue ID @@ -135,7 +135,7 @@ jobs: echo "ISSUE_ID=$ISSUE_ID" >> $GITHUB_OUTPUT - name: DEBUG - ISSUE_ID - if: env.debug == true + if: ${{ github.event.inputs.debug == 'true' }} run: echo "ISSUE_ID = ${{steps.issue-id.outputs.ISSUE_ID}}" - name: Get field ID @@ -182,7 +182,7 @@ jobs: echo "FIELD_ID_VERSION=$FIELD_ID_VERSION" >> $GITHUB_OUTPUT - name: DEBUG - FIELD_ID - if: env.debug == true + if: ${{ github.event.inputs.debug == 'true' }} run: | echo "FIELD_ID_ENVIRONMENT = ${{steps.field-id.outputs.FIELD_ID_ENVIRONMENT}}" echo "FIELD_ID_VERSION = ${{steps.field-id.outputs.FIELD_ID_VERSION}}" @@ -227,7 +227,7 @@ jobs: echo "FIELD_ENVIRONMENT_OPTION_ID=$FIELD_ENVIRONMENT_OPTION_ID" >> $GITHUB_OUTPUT - name: DEBUG - FIELD_ENVIRONMENT_OPTION_ID - if: env.debug == true + if: ${{ github.event.inputs.debug == 'true' }} run: echo "FIELD_ENVIRONMENT_OPTION_ID = ${{steps.environment-option-id.outputs.FIELD_ENVIRONMENT_OPTION_ID}}" - name: Update Deployment Issue Environment Field