An open API service indexing awesome lists of open source software.

https://github.com/lots0logs/gh-action-conditional-failure

GitHub Action that will fail the workflow when certain conditions are met.
https://github.com/lots0logs/gh-action-conditional-failure

action actions github-action github-actions

Last synced: 3 months ago
JSON representation

GitHub Action that will fail the workflow when certain conditions are met.

Awesome Lists containing this project

README

        

# GitHub Action: Conditional Failure
Fails based on certain conditions

## Conditions
### File Exists
Checks for existing file matching any of the provided glob patterns.
* Arg: `--file-exists`
* Example: `--file-exists -- **/*.error.log`

## Modifiers
### Not
Negates the next condition
* Arg: `--not`
* Example: `--not --file-exists -- **/*.error.log`