Skip to content

Commit

Permalink
fix: pass 'permission' to train action
Browse files Browse the repository at this point in the history
This is required for non-generic actions as of 11.0. I mucked this up when I did the upgrade and simply explicitly set `cb_name` to its default value. (See https://taskcluster-taskgraph.readthedocs.io/en/latest/reference/migrations.html.)
  • Loading branch information
bhearsum committed Sep 23, 2024
1 parent 9d355d8 commit 71c6af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taskcluster/translations_taskgraph/actions/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def validate_pretrained_models(params):
title="Train",
symbol="train",
description="Initiate part or all of the training pipeline",
cb_name="train",
permission="train",
order=500,
context=[],
available=can_train,
Expand Down

0 comments on commit 71c6af8

Please sign in to comment.