You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
10 months ago
..
auth.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 11 months ago
auth_test.go Add `interface{}` to `any` replacement to `make fmt`, exclude `*.pb.go` (#30461) 10 months ago
cleanup.go Expire artifacts before deleting them physically (#29241) 12 months ago
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 1 year ago
commit_status.go Add commit status summary table to reduce query from commit status table (#30223) 10 months ago
init.go Move notification interface to services layer (#26915) 1 year ago
job_emitter.go The job should always run when `if` is `always()` (#29464) 12 months ago
job_emitter_test.go The job should always run when `if` is `always()` (#29464) 12 months ago
notifier.go Fix missed doer (#30231) 10 months ago
notifier_helper.go Use action user as the trigger user of schedules (#30581) 10 months ago
rerun.go Fix bugs in rerunning jobs (#29955) 11 months ago
rerun_test.go Fix bugs in rerunning jobs (#29955) 11 months ago
schedule_tasks.go Remove scheduled action tasks if the repo is archived (#30224) 10 months ago
variables.go Add API for `Variables` (#29520) 11 months ago