ci: add workflow_dispatch to optional.yml workflow

This makes it convenient to test optional.yml on release branch.
This commit is contained in:
dundargoc 2023-12-29 19:19:58 +01:00 committed by dundargoc
parent 1ef60ea651
commit 9aed26079c

View File

@ -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: