mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-02-23 02:21:22 +01:00
Remove pull_request_target from workflows that push images
Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
parent
f52484f302
commit
74b235b626
2 changed files with 20 additions and 18 deletions
1
.github/workflows/multiple-build.yaml
vendored
1
.github/workflows/multiple-build.yaml
vendored
|
@ -1,7 +1,6 @@
|
||||||
name: Multiple container CLI build tests
|
name: Multiple container CLI build tests
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request_target:
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: myimage
|
IMAGE_NAME: myimage
|
||||||
|
|
5
.github/workflows/verify-push.yaml
vendored
5
.github/workflows/verify-push.yaml
vendored
|
@ -2,7 +2,10 @@
|
||||||
# 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, pull_request_target ]
|
on:
|
||||||
|
push:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PROJECT_DIR: spring-petclinic
|
PROJECT_DIR: spring-petclinic
|
||||||
IMAGE_NAME: spring-petclinic
|
IMAGE_NAME: spring-petclinic
|
||||||
|
|
Loading…
Add table
Reference in a new issue