-
🔰 fundamental topics for beginners getting started with DevSensei
-
🔬 advanced topics for once you have your first workflows automated
A devsensei.yaml file has a top-level workflows property, which declares a list of Workflow objects. (Review the workflow concept).
Example
workflows:
- name: Check commits
merge-checks:
# ...
- name: Make Checklist
actions:
# ...
Workflow Properties
|
Attribute |
Definition |
|---|---|
|
|
The name of the workflow. Must be unique in a repository. |
|
|
A set of conditions to be met for the actions of the workflow to be executed for a pull request. If empty then all pull requests will match. |
|
|
A set of expressions. Causes additional trigger for actions each time the value changes while the condition is currently met. YAML
|
|
|
A set of actions to be executed each time the |
|
|
A set of rules that are continuously checked. If any rule fails to pass then the PR is prevented from merging. |
|
|
A set of custom attributes that can be used within |
|
|
A workflow with the same name can be overridden in the main devsensei.yaml file. If so, the workflow object must have
YAML
YAML
|