code.gitea.io/gitea@v1.22.3/.github/workflows/cron-licenses.yml (about) 1 name: cron-licenses 2 3 on: 4 schedule: 5 - cron: "7 0 * * 1" # every Monday at 00:07 UTC 6 workflow_dispatch: 7 8 jobs: 9 cron-licenses: 10 runs-on: ubuntu-latest 11 if: github.repository == 'go-gitea/gitea' 12 steps: 13 - uses: actions/checkout@v4 14 - uses: actions/setup-go@v5 15 with: 16 go-version-file: go.mod 17 check-latest: true 18 - run: make generate-license generate-gitignore 19 timeout-minutes: 40 20 - name: push translations to repo 21 uses: appleboy/git-push-action@v0.0.3 22 with: 23 author_email: "teabot@gitea.io" 24 author_name: GiteaBot 25 branch: main 26 commit: true 27 commit_message: "[skip ci] Updated licenses and gitignores" 28 remote: "git@github.com:go-gitea/gitea.git" 29 ssh_key: ${{ secrets.DEPLOY_KEY }}