[testing workflows] Add new workflow to trigger any jobs in ci.yml on demand (#49674)

This commit is contained in:
Adrian Moldovan 2024-07-19 09:14:12 +01:00 committed by GitHub
parent 4534829ecd
commit a5a5c0503f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 25 additions and 2 deletions

17
.github/workflows/tests-on-demand.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: 'On demand tests run'
on:
workflow_dispatch:
inputs:
trigger:
description: 'Event name. It will be used to filter the jobs to run in ci.yml. It can be anything, as long as the job you want to run has this event configured in the `events` list. Example: daily-checks, pull_request, on-demand, etc.'
required: true
default: ''
jobs:
run-tests:
name: 'Run tests'
uses: ./.github/workflows/ci.yml
with:
trigger: ${{ inputs.trigger }}
secrets: inherit

View File

@ -0,0 +1,4 @@
Significance: patch
Type: dev
Add new CI workflow to trigger tests on demand.

View File

@ -593,7 +593,8 @@
"shardingArguments": [],
"changes": [],
"events": [
"daily-checks"
"daily-checks",
"on-demand"
],
"report": {
"resultsBlobName": "default-pressable-core-e2e",
@ -608,7 +609,8 @@
"shardingArguments": [],
"changes": [],
"events": [
"daily-checks"
"daily-checks",
"on-demand"
],
"report": {
"resultsBlobName": "default-wpcom-core-e2e",