Skip to content

Use GitHub action to update model files when new version of SS3 is available #10

@kellijohnson-NOAA

Description

@kellijohnson-NOAA

Problem

The R script to update the model files must be run locally and files need to be committed by a human, which can lead to a delay in updating the files.

Solution

Use a GitHub action to run the script and update the files.

I am not sure if the GitHub action should be initiated here or from the stock-synthesis repo upon a release of SS3. If initiated here, then it would need to be run on a schedule to check and see if the current version of files are the same as the newest version of SS3. Where, if it is in stock-synthesis, it could run upon a new release. See documentation on actions that are triggered with tags.

Tasks

  • push local changes to .R script that decreases number of steps
  • fix script to get executable from artifacts
  • add GitHub action that uses the script and commits the changes to the repository then opens a pull request
  • add step to action that tags this repository with the version number of SS3 being used

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions