Update by stargazed #1505
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@v2 | |
- | |
name: 'Use Node.js 12.x' | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 12.x | |
- | |
name: 'Install Package' | |
run: 'npm install --global stargazed' | |
- | |
name: 'Update Repo' | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
run: 'stargazed --username "bernardolm" --token ${GITHUB_TOKEN} --repo "awesome-stars" --message "stargazed update by GitHub Actions Workflow" --sort' |