Update by stargazed #1855
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Update by stargazed' | |
# This workflow runs at 00:30 everyday | |
on: | |
schedule: | |
- | |
cron: '30 0 * * *' | |
jobs: | |
build: | |
name: 'stargazed update' | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: 'Use GitHub Actions' | |
uses: actions/checkout@v1 | |
- | |
name: 'Use Node.js' | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- | |
name: 'Install Package' | |
run: 'npm install --global stargazed' | |
- | |
name: 'Update Repo' | |
env: | |
GITHUB_TOKEN: '${{ secrets.TOKEN }}' | |
run: 'stargazed --username "dnnsmnstrr" --token ${GITHUB_TOKEN} --repo "awesome-stars" --message "stargazed update by GitHub Actions Workflow" --sort' |