Run for main(all CNCF China related projects) #667
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: Run for main(all CNCF China related projects) | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 8/12 * * 1-5" | |
push: | |
branches: | |
- daocloud | |
env: | |
GITHUB_NAME: pacoxu-bot | |
GITHUB_EMAIL: [email protected] | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: My GitHub Status | |
uses: pacoxu/github-repos-stats@daocloud | |
env: | |
GITHUB_TOKEN: "${{ env.GITHUB_TOKEN }}" | |
- name: Push README | |
run: | | |
git config --local user.email "${{ env.GITHUB_EMAIL }}" | |
git config --local user.name "${{ env.GITHUB_NAME }}" | |
git commit -a -m 'docs: update readme.md' | |
git push | |