commit 9aed26079c3021bc194d4261ac4fa8011476cf3e
parent 1ef60ea6513be72a03958ed6239bfe474c85a7a3
Author: dundargoc <gocdundar@gmail.com>
Date: Fri, 29 Dec 2023 19:19:58 +0100
ci: add workflow_dispatch to optional.yml workflow
This makes it convenient to test optional.yml on release branch.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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: