Modify workflow to trigger on pull request

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
divyansh42 2021-01-30 19:49:53 +05:30
parent 23bd822301
commit 05bf36e917

View file

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