We released DevSensei | Code Owners for Bitbucket 8.2 on (TODO: REAL DATE)🎉
Download on the Atlassian Marketplace for Data Center
...
Starting from this release, DevSensei Workflows now execute actions following an edge-triggering model.
What is edge-triggering?
In brief, a A Workflow’s actions will only execute when its conditions become met. They will only run for a second time in two cases:
...
🆕 Workflow section: retrigger-on
Edge-triggering can be enhanced to give you more control over when actions run. You can configure the new retrigger-on
section with an optional list of expressions. When the value of one of these expressions changes, it will cause another edge trigger if the condition is already met. For now only attribute names are allowed as expressions (the same attributes as in conditions).
...
Change to When add-codeowners
Action Runs
users Users who previously migrated from CODEOWNERS
to devsensei.yaml
should add a condition to filter on non-draft PR, and add retriggers for destination
and source-head-sha
. This ensures that add-codeowners
action will run on each destination branch rescope, commit push, or when the PR is no longer draft.
...