Skip to content

Commit

Permalink
make pr message optional
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmellos committed Jun 9, 2022
1 parent 822d902 commit 1a6ab92
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-bp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
PROJECT_NAME:
required: true
type: string
PR_MESSAGE:
required: false
type: boolean
default: true
secrets:
DOCKERHUB_USERNAME:
required: true
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 1a6ab92

Please sign in to comment.