gitea/models/actions
Giteabot 189cfc1be1
Fix ambiguous id when fetch Actions tasks (#30382) (#30383)
Backport #30382 by @wolfogre

Fix regression of #30331.

```txt
time="2024-04-10T02:23:49Z" level=error msg="failed to fetch task" func="[fetchTask]" file="[poller.go:91]" error="unknown: rpc error: code = Internal desc = pick task: CreateTaskForRunner: Error 1052 (23000): Column 'id' in field list is ambiguous"
```

I have tested it in my local env, and it should work now.

Co-authored-by: Jason Song <i@wolfogre.com>
2024-04-10 03:24:31 +00: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 Fix ambiguous id when fetch Actions tasks (#30382) (#30383) 2024-04-10 03:24:31 +00:00
task_list.go
task_output.go
task_step.go
tasks_version.go
utils.go
utils_test.go
variable.go Make runs-on support variable expression (#29468) 2024-03-08 06:14:35 +00:00