Octo-my-readme is a github action that takes the github octocat and combines it with your most used language in all your repos then displays it in your README.md or wherever you place it.
Combines the GitHub Octocat with the logo of the most used language in your repositories which can then be displayed in your special README or wherever.
Preview
How to use
Star this repo 😉
Go to your special repository(repo with name the same as git username).
Create a folder named .github and create a workflows folder inside it, if it doesn't exist.
Create a new file named octo-lang.yml with the following contents inside the workflow folder:
name: Octo my README on:
# schedule: # Run workflow automatically# - cron: '0 * * * *' # Runs every hour, on the hourworkflow_dispatch: # Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directlyjobs:
get_lang_gen_octo:
runs-on: ubuntu-latestname: Get Language & Generate Ocoto-langsteps:
- name: Checkoutuses: actions/checkout@v2
- name: Get most used language then generate ocoto langid: octo-languses: arndom/octo-my-readme-workflow@v1
Commit and trigger it manually, after the run, a my-ocoto-lang.png file…
name:Octo my READMEon:# schedule: # Run workflow automatically# - cron: '0 * * * *' # Runs every hour, on the hourworkflow_dispatch:# Run workflow manually (without waiting for the cron to be called), through the Github Actions Workflow page directlyjobs:get_lang_gen_octo:runs-on:ubuntu-latestname:Get Language & Generate Ocoto-langsteps:-name:Checkoutuses:actions/checkout@v2-name:Get most used language then generate ocoto langid:octo-languses:arndom/octo-my-readme-workflow@v1
Additional Resources / Info
This is my first github action and I was stuck for a bit realizing my idea but thanks to existing workflows; blog-post-workflow & github-update-readme and the styling of the octocat by my friend; @Rahnard I was able to make this.
Hope you like it 🤗, Don't forget to leave a star ⭐