Bug 1779797 - part 2: Provide email address for github-actions[bot] on Taskcluster decision task
This commit is contained in:
parent
3111c8bf8b
commit
d2416d39ec
|
@ -16,11 +16,14 @@ tasks:
|
||||||
$if: 'event.sender.login == "bors[bot]"'
|
$if: 'event.sender.login == "bors[bot]"'
|
||||||
then: 'skaspari+mozlando@mozilla.com' # It must match what's in bors.toml
|
then: 'skaspari+mozlando@mozilla.com' # It must match what's in bors.toml
|
||||||
else:
|
else:
|
||||||
$if: 'tasks_for == "github-push"'
|
$if: 'event.sender.login == "github-actions[bot]"'
|
||||||
then: '${event.pusher.email}'
|
then: 'github-actions[bot]@users.noreply.github.com'
|
||||||
else:
|
else:
|
||||||
$if: 'tasks_for == "github-pull-request"'
|
$if: 'tasks_for == "github-push"'
|
||||||
then: '${event.pull_request.user.login}@users.noreply.github.com'
|
then: '${event.pusher.email}'
|
||||||
|
else:
|
||||||
|
$if: 'tasks_for == "github-pull-request"'
|
||||||
|
then: '${event.pull_request.user.login}@users.noreply.github.com'
|
||||||
baseRepoUrl:
|
baseRepoUrl:
|
||||||
$if: 'tasks_for == "github-push"'
|
$if: 'tasks_for == "github-push"'
|
||||||
then: '${event.repository.html_url}'
|
then: '${event.repository.html_url}'
|
||||||
|
|
Loading…
Reference in New Issue