WIP scripts for scraping and processing Github Actions workflow runs data.
To run from the command line:
deno run --no-check --allow-net=api.github.com --allow-env="GITHUB_TOKEN" --allow-write index.ts [workflow_name]
There's also an optional parameter of a Github API date string to search by,e.g.:
-d=">2022-07-06"
- Compare Octokit setup with Max's, and try to gain a better understanding of how typing for this lib works
- Make filepath more configurable (and validate it before trying to use?)
- Rationalise typing
- Make it possible to customise the headings to scrape/save, and also the file saving options
- Add 'update' functionality which will pick up from where the previous run left off
Comments on the above, or any other issues, very welcome!