Remove pull_request_target from workflows that push images

Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
Tim Etchells 2021-02-20 13:37:54 -05:00
parent f52484f302
commit 74b235b626
2 changed files with 20 additions and 18 deletions

View file

@ -1,7 +1,6 @@
name: Multiple container CLI build tests
on:
push:
pull_request_target:
workflow_dispatch:
env:
IMAGE_NAME: myimage

View file

@ -2,7 +2,10 @@
# is some change in code done to ensure that the changes
# are not buggy and we are getting the desired output.
name: Test Build and Push
on: [ push, workflow_dispatch, pull_request_target ]
on:
push:
workflow_dispatch:
env:
PROJECT_DIR: spring-petclinic
IMAGE_NAME: spring-petclinic