Releases: thuongtruong1009/a_repo_with_9_stars_and_0_forks
Releases · thuongtruong1009/a_repo_with_9_stars_and_0_forks
v1.0 build init
What news
- Config actions pipeline
- Setup variable environments
- Generate README and descriptions
- Add trigger event and corn time in automatic jobs
- Run action every 60 minutes
- Auto rename the repository with verifying sha commits
Setup
- Create ENV with name id GITHUBTOKEN in setting -> developer setting
- Create run.yml job file in .github/workflow folder
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 }}
Options
- Change cron interval time
schedule:
- cron: "*/60 * * * *"
# auto re-run jobs after 60 minutes
- See example at here
- Author thuongtruong1009 x Github API
Full Changelog: https://github.com/thuongtruong1009/a_repo_with_2_stars_and_0_forks/commits/v1.0