Automatic change repository name with stars and forks count after 60s
MIT License
Published by thuongtruong1009 over 2 years ago
name: "Run"
on:
workflow_dispatch:
watch:
types: [started,fork]
schedule:
- cron: "*/60 * * * *"
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm i
- uses: ./
with:
githubToken: ${{ secrets.GITHUBTOKEN }}
actor: ${{ github.actor }}
schedule:
- cron: "*/60 * * * *"
# auto re-run jobs after 60 minutes
Full Changelog: https://github.com/thuongtruong1009/a_repo_with_2_stars_and_0_forks/commits/v1.0