0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 22:03:09 +01:00
gitea/services/actions
yp05327 cb6814adad
Use action user as the trigger user of schedules (#30581)
Follow https://github.com/go-gitea/gitea/pull/30357

When user push to default branch, the schedule trigger user will be the
user.
When disable then enable action units in settings, the schedule trigger
user will be action user.
When repo is a mirror, the schedule trigger user will be action user. (
before it will return error, fixed by #30357)

As scheduled job is a cron, the trigger user should be action user from
Gitea, not a real user.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2024-04-20 02:35:29 +02:00
..
auth.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 2024-03-05 17:34:42 +00:00
auth_test.go Add interface{} to any replacement to make fmt, exclude *.pb.go (#30461) 2024-04-13 17:32:15 +00:00
cleanup.go Expire artifacts before deleting them physically (#29241) 2024-02-18 22:25:14 +08:00
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
commit_status.go Add commit status summary table to reduce query from commit status table (#30223) 2024-04-12 09:41:50 +08:00
init.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
job_emitter.go The job should always run when if is always() (#29464) 2024-02-28 11:54:44 +01:00
job_emitter_test.go The job should always run when if is always() (#29464) 2024-02-28 11:54:44 +01:00
notifier.go Fix missed doer (#30231) 2024-04-08 21:26:41 +00:00
notifier_helper.go Use action user as the trigger user of schedules (#30581) 2024-04-20 02:35:29 +02:00
rerun.go Fix bugs in rerunning jobs (#29955) 2024-03-22 03:19:17 +00:00
rerun_test.go Fix bugs in rerunning jobs (#29955) 2024-03-22 03:19:17 +00:00
schedule_tasks.go Remove scheduled action tasks if the repo is archived (#30224) 2024-04-01 13:48:14 +00:00
variables.go Add API for Variables (#29520) 2024-03-28 20:40:35 +00:00