-
Notifications
You must be signed in to change notification settings - Fork 1
MVP: gather data and metadata #4
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
Conversation
a2a8ae6 to
f27f2f5
Compare
f732207 to
5f7b5c0
Compare
owenatgov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing my own PR since @domoscargin did loads of work on it.
I've left one comment, otherwise this is looking good, especially with the context of #20 getting a review once this one's in. Also world be keen to clean up the commit history if poss.
.github/workflows/update.yml
Outdated
| - name: Pipe our deps to a json file | ||
| run: github-dependents-info --repo alphagov/govuk-frontend --sort stars --json > raw-deps.json | ||
| run: npm -v | ||
| # run: github-dependents-info --repo alphagov/govuk-frontend --sort stars --json > ./data/raw-deps.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can put this back now that we're done testing!
cde51fb to
7e03cd7
Compare
|
@owenatgov I've hacked way at the commit history - not sure if you want to do anything to #6318865 other than reword it? |
domoscargin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving.
Adds a base head_ref, and gives the action contents:write permission
I've had to pop some Babel foo on top of eslint because we're using import assertions.
Uses the repo's `created_at` and `pushed_at` properties.
We were just writing to a JSON file, but CSV is more useful for other folks who want to use the data.
7e03cd7 to
15c58a8
Compare
Enables:
Also creates a PR with the latest data once the script has finished running.
As the basic functionality works, I'm marking this ready for review, and adding issues to describe further work.