Skip to content

Github Action to ensure Caller workflow is not executing on main branch

License

Notifications You must be signed in to change notification settings

mr8lu/fail-on-main

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fail-on-main

Github Action to ensure Caller workflow is not executing on main branch

This is a github action that by default fail and exit the workflow when running on main branch. The rationale is that when working with workflow dispatch manually you can't set the workflow to not run steps on main branch. (or maybe just not to my awareness)

About

Github Action to ensure Caller workflow is not executing on main branch

Resources

License

Stars

Watchers

Forks

Packages

No packages published