Add a bash script scrape_github.sh to extract GitHub discussions from named repositories with the label RFCs and write the details to markdown files to a new collection, similar to the blog posts collection.
The bash script should be updated to specify the RFC category as part of the API call, and get rid of filtering by RFC label.
To run scrape_github.sh locally you'll need to save a GitHub secret with permission to read discussions from the relevant repos to a .env file.
Add a bash script
scrape_github.sh
to extract GitHub discussions from named repositories with the label RFCs and write the details to markdown files to a new collection, similar to the blog posts collection.The bash script should be updated to specify the RFC category as part of the API call, and get rid of filtering by RFC label.
To run scrape_github.sh locally you'll need to save a GitHub secret with permission to read discussions from the relevant repos to a
.env
file.