GithubHelp home page GithubHelp logo

mytop8's Introduction

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

8. TylerLeonhardt

mytop8's People

Contributors

techdufus avatar

Stargazers

Robert Wiley avatar  avatar

Watchers

 avatar  avatar

mytop8's Issues

Feature Request: Allow users to change the size of the table / photos with a %

See the below example. It would be nice, if the table is too large for some reason, to be able to shrink (or maybe expand) the size of the table / photos with a provided %.

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: matthewjdegarmo/MyTop8@latest
        with:
          users_list: --MyspaceTom--, matthewjdegarmo, brrees01, intenseone, EdwardHanlon, endoleg, packersking, TylerLeonhardt
          table_size_percent: 75

This would default to 100, but can be overridden by including the table_size_percent parameter (or some other name).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.