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

Refactor of dependency version Appscript #54

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nicholsj
Copy link
Contributor

@nicholsj nicholsj commented Jan 9, 2025

A bit of a refactor to the script used in the GOV.UK dependency management sheet which also:

  • Adds a few more comments
  • Caches the contents of the fetched files, in an attempt to speed things up and reduce calls to Github
  • Adds some checks for whether repos are using the Dependabot automerger tool (replacing a separate sheet tracking this)

This has been tested and is working in the sheet above (this is the Appscript version currently used there).
Old version took 352s to run, this version takes 225s. Still horribly slow, and I'm sure there's more optimisation possible.

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.

1 participant