Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automagically run a script to update our sandbox asset dates daily #13

Merged
merged 4 commits into from
Nov 14, 2023

Conversation

ToddKerpelman
Copy link
Collaborator

This is a python script that...

  1. Looks through our two Asset Sandbox user json files
  2. Finds the most recent date in these files
  3. Sets that date to today, and then scales all other dates proportionately

And then we have a workflow script that, in theory, runs this script once a day and commits the result.

I'm keeping this limited to assets for now, just so we can limit the damage in case something goes wrong.

@ToddKerpelman
Copy link
Collaborator Author

(I should note this PR also includes what those two files look like after running the script_

@ToddKerpelman ToddKerpelman merged commit ed59e79 into main Nov 14, 2023
@ToddKerpelman ToddKerpelman deleted the tk_update_assets_script branch November 14, 2023 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants