From 7348cc3a5b38ad52383eaf4271467ddfc2ffa284 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Fri, 29 Dec 2023 19:19:58 +0100 Subject: [PATCH] ci: add workflow_dispatch to optional.yml workflow This makes it convenient to test optional.yml on release branch. --- .github/workflows/optional.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/optional.yml b/.github/workflows/optional.yml index d2002bd674..2cc0ffbae2 100644 --- a/.github/workflows/optional.yml +++ b/.github/workflows/optional.yml @@ -2,6 +2,7 @@ name: optional on: pull_request: types: [labeled, opened, synchronize, reopened] + workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} @@ -16,7 +17,7 @@ env: jobs: s390x: - if: contains(github.event.pull_request.labels.*.name, 'ci-s390x') + if: contains(github.event.pull_request.labels.*.name, 'ci-s390x') || github.event_name == 'workflow_dispatch' strategy: fail-fast: false matrix: