├── .github └── workflows │ └── automate.yml └── README.md /.github/workflows/automate.yml: -------------------------------------------------------------------------------- 1 | name: 'Update the list of my liked repositories' 2 | on: 3 | schedule: 4 | - 5 | cron: '30 18 * * *' 6 | workflow_dispatch: 7 | 8 | jobs: 9 | build: 10 | name: 'stargazed' 11 | runs-on: ubuntu-latest 12 | steps: 13 | - 14 | name: 'Use GitHub Actions' 15 | uses: actions/checkout@v2 16 | - 17 | name: 'Use Node.js 12.x' 18 | uses: actions/setup-node@v1 19 | with: 20 | node-version: 12.x 21 | - 22 | name: 'Install Package' 23 | run: 'npm install --global https://github.com/abhijithvijayan/stargazed' 24 | - 25 | name: 'Update Repo' 26 | env: 27 | GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' 28 | run: 'stargazed --username "maxgfr" --token ${GITHUB_TOKEN} --repo "awesome-stars" --message "update readme.md" --sort' 29 | --------------------------------------------------------------------------------