Loading .github/workflows/update.yml 0 → 100644 +21 −0 Original line number Diff line number Diff line on: schedule: - cron: '0 0 * * 0' #every week jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@master with: persist-credentials: false fetch-depth: 0 - name: Commit files run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Actions" ./update.py - name: Push changes uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }} Loading
.github/workflows/update.yml 0 → 100644 +21 −0 Original line number Diff line number Diff line on: schedule: - cron: '0 0 * * 0' #every week jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@master with: persist-credentials: false fetch-depth: 0 - name: Commit files run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Actions" ./update.py - name: Push changes uses: ad-m/github-push-action@master with: github_token: ${{ secrets.GITHUB_TOKEN }}