0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-28 02:14:06 -05:00
forgejo/services/actions
Earl Warren c3e2c25359
fix(actions): the trigger user of a schedule is the action user
The user that caused the notification to re-evaluates the
schedules is not the one that will trigger the workflows. They are
background tasks that are authored by the action user (id -2).

Such a mis-assignment is problematic when the user that caused the
notification is deleted.

Fixes: https://codeberg.org/forgejo/forgejo/issues/3211
2024-04-14 12:53:20 +02:00
..
auth.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 2024-03-11 23:36:58 +07:00
auth_test.go Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (#29584) 2024-03-11 23:36:58 +07:00
cleanup.go
clear_tasks.go
commit_status.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 2024-03-26 19:04:27 +01:00
init.go
job_emitter.go The job should always run when if is always() (#29464) 2024-03-06 12:10:44 +08:00
job_emitter_test.go The job should always run when if is always() (#29464) 2024-03-06 12:10:44 +08:00
main_test.go
notifier.go Fix invalid link of the commit status when ref is tag (#29752) 2024-03-26 19:04:25 +01:00
notifier_helper.go fix(actions): the trigger user of a schedule is the action user 2024-04-14 12:53:20 +02:00
notifier_helper_test.go
rerun.go Fix bugs in rerunning jobs (#29955) 2024-03-26 19:04:26 +01:00
rerun_test.go Fix bugs in rerunning jobs (#29955) 2024-03-26 19:04:26 +01:00
schedule_tasks.go Remove scheduled action tasks if the repo is archived (#30224) 2024-04-07 15:40:31 +02:00
variables.go Add API for Variables (#29520) 2024-04-07 10:57:53 +02:00