Github actions conditional step
actions November 9, 2021 Actions written in YAML, also known as composite actions, now support if conditionals. This lets you prevent specific steps from executing unless a condition has been met. Like steps defined in workflows, you can use any supported context and expression to create a conditional. Learn more about actions written in YAML.