This allows you to re-create the MySpace Top 8 section on any .md file in your GitHub Repository.
This defaults to the README.md at the root of your repository (which is the file that renders your profile) but you can specify any file in your repo, as long as it contains the following comments:
<!-- MYTOP8-LIST:START -->
<!-- MYTOP8-LIST:END -->
In your repository workflow file, you provide a comma-delimited list of 8 (or less) users that you want to make up your Top8 section. Here's an example workflow that will run every hour.
name: My Top 8
on:
schedule:
#runs every hour
- cron: '0 * * * *'
workflow_dispatch:
jobs:
update-mytop8-section:
name: Update this repo's README my top 8 users.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: techdufus/MyTop8@latest
with:
users_list: --MyspaceTom--, techdufus, brrees01, intenseone, EdwardHanlon, endoleg, packersking, TylerLeonhardt
The above workflow will render the following table in your root README.md file in your repository.
1. Tom |
2. techdufus |
3. brrees01 |
4. intenseone |
5. EdwardHanlon |
6. endoleg |
7. packersking |