Skip to content

Commit 9f04cfe

Browse files
authored
Update 0180-Github-cancel-previous-tasks.md (#185)
1 parent 9c1665c commit 9f04cfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rfcs/0180-Github-cancel-previous-tasks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ This will only apply to non-default branches (and possible protected branches?),
2121
to allow all pushes to the default branch to have their own builds.
2222

2323
To be flexible and allow some projects to still run checks for all events, we could add new key to the `.taskcluster.yml` configuration.
24-
We can introduce top-level configuration option `authCancelPreviousChecks: true` (having `true` by default) to control if this behaviour is desired.
24+
We can introduce top-level configuration option `autoCancelPreviousChecks: true` (having `true` by default) to control if this behaviour is desired.
2525

2626
Github's webhook handler upon receiving `push` event would check if there are other task groups existing for given branch, that are not HEAD.
27-
If `authCancelPreviousChecks` is set to `true` it will cancel them.
27+
If `autoCancelPreviousChecks` is set to `true` it will cancel them.
2828

2929
Cancellation will happen for all the non-resolved tasks within the same `taskGroupId`. However, due to the fact that tasks can create their own sub-tasks, there might be cases where running tasks would still manage to create some tasks that might not be cancelled.
3030

0 commit comments

Comments
 (0)