Skip to content

Commit 6764e8f

Browse files
authored
CI: Update license & gitignore by cron (#14419)
do generate-license & generate-gitignore by cron close #12684 Signed-off-by: a1012112796 <[email protected]>
1 parent 271a011 commit 6764e8f

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.drone.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,45 @@ steps:
433433
CROWDIN_KEY:
434434
from_secret: crowdin_key
435435

436+
---
437+
kind: pipeline
438+
name: update_gitignore_and_licenses
439+
440+
platform:
441+
os: linux
442+
arch: amd64
443+
444+
workspace:
445+
base: /go
446+
path: src/code.gitea.io/gitea
447+
448+
trigger:
449+
branch:
450+
- master
451+
event:
452+
- cron
453+
cron:
454+
- update_gitignore_and_licenses
455+
456+
steps:
457+
- name: download
458+
image: golang:1.15
459+
commands:
460+
- timeout -s ABRT 40m make generate-license generate-gitignore
461+
462+
- name: push
463+
pull: always
464+
image: appleboy/drone-git-push
465+
settings:
466+
author_email: "[email protected]"
467+
author_name: GiteaBot
468+
commit: true
469+
commit_message: "[skip ci] Updated licenses and gitignores "
470+
remote: "[email protected]:go-gitea/gitea.git"
471+
environment:
472+
GIT_PUSH_SSH_KEY:
473+
from_secret: git_push_ssh_key
474+
436475
---
437476
kind: pipeline
438477
name: release-latest

0 commit comments

Comments
 (0)