Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 685 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 685 Bytes

Starred to logseq action


This action get github stars from a github person and write to Mardown files. It will generate github repo using the style like [[github.com/zhaochunqi/starred-to-logseq-action]]

I generate use it for my Logseq.

How to Use

name: Generate Github Star

on:
  schedule:
    - cron: "5 22 * * *"
env:
  TZ: "Asia/Shanghai"
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: zhaochunqi/starred-to-logseq-action@main
        with:
          username: "zhaochunqi"
          targetDir: "./pages"
      - uses: EndBug/add-and-commit@v9
        with:
          message: "Update Github Stars"