From 41939b283353b1c4362f9f8ec8d5c4ae70b8f6b9 Mon Sep 17 00:00:00 2001 From: James Slagle Date: Thu, 19 Oct 2023 16:38:27 -0400 Subject: [PATCH] Add workflow_dispatch even trigger for github workflows In order to run these workflows manually from the GitHub UI, they need to also be triggered by workflow_dispatch. https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch They may need to be run manually at times in order to bump the version of the openstack-ansibleee-runner image set in $RELATED_IMAGE_ANSIBLEEE_IMAGE_URL_DEFAULT by .github/create_bundle.sh. Signed-off-by: James Slagle --- .../workflows/build-openstack-ansibleee-operator.yaml | 7 ++++--- .../workflows/release-openstack-ansibleee-operator.yaml | 9 +++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-openstack-ansibleee-operator.yaml b/.github/workflows/build-openstack-ansibleee-operator.yaml index fdd8d83a..25de63d1 100644 --- a/.github/workflows/build-openstack-ansibleee-operator.yaml +++ b/.github/workflows/build-openstack-ansibleee-operator.yaml @@ -1,9 +1,10 @@ name: OpenStackAnsibleEE Operator image builder on: - push: - branches: - - '*' + - push: + branches: + - '*' + - workflow_dispatch env: imageregistry: 'quay.io' diff --git a/.github/workflows/release-openstack-ansibleee-operator.yaml b/.github/workflows/release-openstack-ansibleee-operator.yaml index 1bf73c73..5ebbaeeb 100644 --- a/.github/workflows/release-openstack-ansibleee-operator.yaml +++ b/.github/workflows/release-openstack-ansibleee-operator.yaml @@ -1,10 +1,11 @@ name: Release OpenStackAnsibleEE Operator on: - release: - types: - - released - - prereleased + - release: + types: + - released + - prereleased + - workflow_dispatch env: imageregistry: 'quay.io'