diff --git a/projects/github-actions/repo-gardening/changelog/update-repo-gardening-task-order b/projects/github-actions/repo-gardening/changelog/update-repo-gardening-task-order new file mode 100644 index 0000000000000..e96a224daccdc --- /dev/null +++ b/projects/github-actions/repo-gardening/changelog/update-repo-gardening-task-order @@ -0,0 +1,4 @@ +Significance: patch +Type: changed + +Tasks: run the Board update task before other tasks. diff --git a/projects/github-actions/repo-gardening/src/index.js b/projects/github-actions/repo-gardening/src/index.js index 807c60525f8cd..69b89af4c98bc 100644 --- a/projects/github-actions/repo-gardening/src/index.js +++ b/projects/github-actions/repo-gardening/src/index.js @@ -18,6 +18,11 @@ const ifNotClosed = require( './utils/if-not-closed' ); const ifNotFork = require( './utils/if-not-fork' ); const automations = [ + { + event: 'issues', + action: [ 'labeled', 'opened' ], + task: updateBoard, + }, { event: 'pull_request_target', action: [ 'opened', 'synchronize', 'edited' ], @@ -87,11 +92,6 @@ const automations = [ action: [ 'closed' ], task: replyToCustomersReminder, }, - { - event: 'issues', - action: [ 'labeled', 'opened' ], - task: updateBoard, - }, ]; ( async function main() {