Checks if the file added in a PR contains text that matches a given regex.
- fileName: The file path in the repository
- regex: The regex string. The value is used as input to for the
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