0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 21:44:38 +01:00
gitea/models/actions
yp05327 d872ce006c
Avoid running action when action unit is disabled after workflows detected (#30331)
Fix #30243

We only checking unit disabled when detecting workflows, but not in
runner `FetchTask`.
So if a workflow was detected when action unit is enabled, but disabled
later, `FetchTask` will still return these detected actions.

Global setting: repo.ENABLED and repository.`DISABLED_REPO_UNITS` will
not effect this.
2024-04-08 22:08:26 +08:00
..
artifact.go
main_test.go
run.go Cancel previous runs of the same PR automatically (#29961) 2024-03-21 15:01:35 +08:00
run_job.go
run_job_list.go
run_list.go
runner.go remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
runner_list.go
runner_token.go
runner_token_test.go
schedule.go Cancel previous runs of the same PR automatically (#29961) 2024-03-21 15:01:35 +08:00
schedule_list.go
schedule_spec.go
schedule_spec_list.go
status.go
task.go Avoid running action when action unit is disabled after workflows detected (#30331) 2024-04-08 22:08:26 +08:00
task_list.go
task_output.go
task_step.go
tasks_version.go
utils.go
utils_test.go
variable.go Add API for Variables (#29520) 2024-03-28 20:40:35 +00:00