You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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