Skip to content

alexey-anufriev/gh-workflow-conditional-execution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

workflow_dispatch inputs and conditional execution

Conditional execution of workflow steps triggered with workflow_dispatch event based on provided inputs.

Input definition:

workflow_dispatch:
  inputs:
    test:
      default: 'y'

Condition:

if: github.event.inputs.test == 'y'

PR name as condition for workfllow steps execution

Condition:

if: startsWith(github.event.pull_request.title, '[urgent]')

or

if: startsWith(github.event.pull_request.title, '[urgent]') != true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published