Ecosyste.ms: Awesome
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: 6 days ago
JSON representation
GitHub Action that will fail the workflow when certain conditions are met.
- Host: GitHub
- URL: https://github.com/lots0logs/gh-action-conditional-failure
- Owner: lots0logs
- License: mit
- Created: 2019-02-18T00:36:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-28T02:12:35.000Z (almost 6 years ago)
- Last Synced: 2025-02-04T09:39:05.779Z (7 days ago)
- Topics: action, actions, github-action, github-actions
- Language: JavaScript
- Size: 22.5 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`