mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-02 03:40:16 +00:00
Only run task on master
This commit is contained in:
parent
12dbbfa219
commit
d0366849d1
@ -155,7 +155,6 @@ tasks:
|
||||
- {$eval: 'default_task_definition'}
|
||||
- scopes:
|
||||
- ${assume_scope_prefix}:branch:${short_head_branch}
|
||||
- ${assume_scope_prefix}:pull-request
|
||||
payload:
|
||||
command:
|
||||
- >-
|
||||
|
@ -72,6 +72,8 @@ def pr_or_push(is_push):
|
||||
build_tasks[taskcluster.slugId()] = BUILDER.craft_test_task(variant)
|
||||
|
||||
if is_push and SHORT_HEAD_BRANCH == 'master':
|
||||
other_tasks[taskcluster.slugId()] = BUILDER.craft_dependencies_task()
|
||||
|
||||
for variant in ('armRaptor', 'aarch64Raptor'):
|
||||
assemble_task_id = taskcluster.slugId()
|
||||
build_tasks[assemble_task_id] = BUILDER.craft_assemble_task(variant)
|
||||
@ -91,7 +93,6 @@ def pr_or_push(is_push):
|
||||
BUILDER.craft_ktlint_task,
|
||||
BUILDER.craft_lint_task,
|
||||
BUILDER.craft_compare_locales_task,
|
||||
BUILDER.craft_dependencies_task,
|
||||
):
|
||||
other_tasks[taskcluster.slugId()] = craft_function()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user