From 1a6ab922623a5d9082df337f99b5e8d39f17d166 Mon Sep 17 00:00:00 2001 From: Lucas Mellos Carlos Date: Thu, 9 Jun 2022 14:18:15 -0300 Subject: [PATCH] make pr message optional --- .github/workflows/docker-bp.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-bp.yml b/.github/workflows/docker-bp.yml index a05331d8..87b0d050 100644 --- a/.github/workflows/docker-bp.yml +++ b/.github/workflows/docker-bp.yml @@ -15,6 +15,10 @@ on: PROJECT_NAME: required: true type: string + PR_MESSAGE: + required: false + type: boolean + default: true secrets: DOCKERHUB_USERNAME: required: true @@ -72,7 +76,7 @@ jobs: - name: Update Pull Request uses: actions/github-script@v6 - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' && $PR_MESSAGE == true env: LOGPRINT: "${{ steps.test.outputs.container-logs }}" with: