mirror of
https://github.com/klutchell/unbound-docker.git
synced 2026-10-29 00:02:54 +00:00
Check that PR is merged before updating dockerhub descriptions
Signed-off-by: Kyle Harding <kyle@balena.io>
This commit is contained in:
@@ -138,7 +138,7 @@ jobs:
|
||||
${{ steps.meta.outputs.tags }}
|
||||
|
||||
- uses: peter-evans/dockerhub-description@v3
|
||||
if: ${{ inputs.publish != false && inputs.dockerhub_description_repo != '' && (github.event_name != 'pull_request' || github.event.action == 'closed') }}
|
||||
if: ${{ inputs.publish != false && inputs.dockerhub_description_repo != '' && (github.event_name != 'pull_request' || (github.event.action == 'closed' && github.event.pull_request.merged == true)) }}
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user