Skip to content

Commit cd00dfc

Browse files
authored
Update app-projects-boards-automation.config.yaml
- Added condition for PR marked as Changes Requested. - Added condition for the issue close to remove from the project.
1 parent 132b9e6 commit cd00dfc

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/app-projects-boards-automation.config.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,18 @@ automations:
231231
- removeFromProject: [23] #['Pull Requests Dashboard']
232232
- removeFromProject: [22] #['Community Dashboard']
233233

234+
# 19. Whenever a pull request is marked as changes requested:
235+
# a. the below labels must be removed from a pull request: "Progress: review"
236+
# b. it must be moved to the "Changes Requested" column
237+
- trigger: pull_request_review.submitted
238+
conditions:
239+
- ['review', 'eq', 'changes_requested']
240+
actions:
241+
- removeLabels: ['Progress: review']
242+
- addLabels: ['Progress: needs update']
243+
- moveTo: [23, 'Changes Requested'] #['Pull Requests Dashboard', 'Changes Requested']
244+
- moveTo: [22, 'Changes Requested'] #['Community Dashboard', 'Changes Requested']
245+
234246

235247
############################################################################################################
236248
# Issues Automation #
@@ -401,3 +413,10 @@ automations:
401413
]
402414
actions:
403415
- addLabelsToRelated: ['${modifiedLabel.name}']
416+
417+
- trigger: issues.closed
418+
actions:
419+
- removeFromProject: [18]
420+
- removeFromProject: [21]
421+
- removeFromProject: [20]
422+
- removeFromProject: [19]

0 commit comments

Comments
 (0)