Category: Github Description: Check if file added in PR contains text that matches a regex Type: Condition
Check if file added in PR contains text that matches a regex
- fileName: file path in the repository
- regex: Regex string. Value is used as input to
No additional info is added to the global payload outputs.
if: conditions: - conditionId: github_does_file_contain params: regex: license_key paramsFramework: node: fileName: backend/newrelic.js rails: fileName: backend/config/newrelic.yml python: fileName: backend/newrelic.ini then: ...
github_does_file_contain condition is used to check if the
newrelic file contains the string