Skip to content

Commit 04c853e

Browse files
glo24157sumesh-GL
authored andcommitted
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 9fe8d7d commit 04c853e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,18 @@ automations:
234234
- removeFromProject: [23] #['Pull Requests Dashboard']
235235
- removeFromProject: [22] #['Community Dashboard']
236236

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

238250
############################################################################################################
239251
# Issues Automation #

0 commit comments

Comments
 (0)