Skip to main content Link Search Menu Expand Document (external link)

github_is_file_modified

Category: String Description: Check if specified file was modified as part of PR changes Type: Condition

Description

Type: Condition

Check if specified file was modified as part of PR changes

Params

  • fileName: file path in the repository

Outputs

No additional info is added to the global payload outputs.

Usage Example

if:
  conditions:
  - conditionId: github_is_file_modified
    paramsFramework:
      node:
        fileName: backend/app.js
  then:
    ...

The github_is_file_modified condition is used to check if the file backend/app.js was modified for Node backend. For other frameworks, the condition will return true.

Relevant Triggers

  • github_pr_lifecycle_status