simonecorsi f444d98079 chore(release): 2.0.0 [skip ci]
# [2.0.0](https://github.com/simonecorsi/mawesome/compare/v1.0.45...v2.0.0) (2022-05-11)

### Bug Fixes

* fixes default template path ([6cd9c30](6cd9c30b20))
* fixes tsc build ([ec10b79](ec10b79a91))
* normalize template file loadup ([445f562](445f562fb5))
* pre-tags ([d1d4edd](d1d4edd104))
* removes unused tests ([a141d23](a141d23972))
* reworking files ([19c4c8f](19c4c8f761))
* updates gh-star-fetch ([3ec4b7c](3ec4b7cd53))

### Features

* release major ([51a4359](51a4359d98))
* update to node16 ([e1f37af](e1f37af978))
* updates deps ([7ade95d](7ade95df85))
* using gh-star-fetch ([346ba5d](346ba5d4b7))
* **template:** adds templates ([2c742b8](2c742b8205)), closes [#14](https://github.com/simonecorsi/mawesome/issues/14)

### BREAKING CHANGES

* refactored code
2022-05-11 14:05:00 +00:00
2022-05-11 15:33:56 +02:00
2022-05-11 13:31:00 +02:00
2021-01-15 10:43:56 +01:00
2022-05-11 09:44:52 +02:00
2021-01-15 10:43:56 +01:00
2022-05-11 09:44:55 +02:00
2022-05-11 13:20:05 +02:00
2022-05-11 14:05:00 +00:00
2022-05-11 14:05:00 +00:00
2022-05-11 15:22:44 +02:00
2022-05-11 10:00:38 +02:00

My Awesome List

This action query the github api to get starred list of the user and then generates a list ordered by languages.

You can see an example of the output at my own simonecorsi/awesome

Table of Contents

Documentation

Requirements

  • An empty repository
  • A personal github api key

Configuration

The service can be configured setting the appropriate environment variables or writing an .env file.

Variable Description Default
api-token Personal github api token. ${{ secrets.API_TOKEN }}
github-token Action Token ${{ secrets.GITHUB_TOKEN }}
github-name Name used for the commit, default to action Github Action
github-email email used for commit, default to action actions@users.noreply.github.com
template-path Custom output template file (EJS template engine) TEMPLATE.ejs
output-filename Output filename README.md

api-token

The Personal API Access Token is mandatory to fetch stars from the API without incurring in Rate Limits.

You'll have to generate a personal api token and then add

Example workflow

name: Update awesome list

on:
  workflow_dispatch:
  schedule:
    - cron: '0 0 * * *'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Awesome generator
        uses: simonecorsi/mawesome@latest
        with:
          api-token: ${{ secrets.API_TOKEN }}
          github-token: ${{ secrets.GITHUB_TOKEN }}
          github-email: ${{ secrets.USER_EMAIL }}
          github-name: ${{ github.repository_owner }}
Description
No description provided
Readme 4.9 MiB
Languages
JavaScript 99.4%
TypeScript 0.6%