frontend-encyclopedia
frontend-encyclopedia copied to clipboard
feat: automate using GitHub Actions
I have written a workflow for automating content generation upon the merging of pull requests. It simply involves making edits to the data.json
, eliminating the need for manual content generation.
Here is a successful execution of this workflow on my fork: https://github.com/dnhn/fe-pedia-paradite-actions/actions/runs/5903648824
To ensure the successful pushing of commits through this workflow, it is required that read and write permissions are granted to the workflow in repository Settings > Actions.
I didn't add the action because I don't want to have another entry in the list of files on home page.
One more entry means people have to scroll down more to see the README.md
.
I will keep this PR open until I decide on how to make it a website, which can be done together with PR.
see #25
Also I am not sure where you got the user name and email for the GitHub action bot.
I use the following for my repos:
git config --global user.email "github@action"
git config --global user.name "GitHub Action"
I didn't add the action because I don't want to have another entry in the list of files on home page. One more entry means people have to scroll down more to see the
README.md
.I will keep this PR open until I decide on how to make it a website, which can be done together with PR.
I understand your point and saw your plan for the website too, I thought that the action could be achieved simply for now. If the website is implemented, this action might not be necessary anymore.
Also I am not sure where you got the user name and email for the GitHub action bot.
I use the following for my repos:
This is taken from the bot’s commits across various repositories. I have just found another source below and have updated it with a more appropriate email, tested and it worked: https://github.com/actions/deploy-pages/blob/main/.github/workflows/rebuild-dependabot-prs.yml#L47C78-L47C78