Skip to content

Change new_device update json file to use python file rather than action #3933

@andrew-codechimp

Description

@andrew-codechimp

Checklist

  • I have filled out the template to the best of my ability.
  • This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
  • This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.

The new_device yaml has an action with a lot of python, this is error prone to maintain.
It also uses deprecated output for passing to subsequent steps.

Describe the solution you'd like

Move the python into a separate file for better syntax checking, same as json librarian.
Change to using environment variables rather than output and update subsequent steps to use these.

Describe alternatives you've considered

None

Additional context

None

Metadata

Metadata

Labels

taskNon critical improvements

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions