gitea/models/actions
yp05327 32d45ee069
Update status check for all supported on.pull_request.types in Gitea ()
Thanks @Zettat123
Follow 
Fix 

on.pull_request.types doc:

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request

on.pull_request.types added in this PR:
```
assigned, unassigned, review_requested, review_request_removed, milestoned, demilestoned, labeled, unlabeled
```

unsupported types in Gitea:
```
// Unsupported activity types:
// converted_to_draft, ready_for_review, locked, unlocked, auto_merge_enabled, auto_merge_disabled, enqueued, dequeued
```

TODO:
- [x] add test
..
artifact.go Always update expiration time when creating an artifact ()
main_test.go Add unit tests for action runner token ()
run.go Update status check for all supported on.pull_request.types in Gitea ()
run_job.go Improve Actions status aggregations ()
run_job_list.go Add container.FilterSlice function ()
run_job_status_test.go Fix various trivial problems ()
run_list.go Add container.FilterSlice function ()
runner.go Refactor "string truncate" ()
runner_list.go Refactor more filterslice ()
runner_token.go Refactor "string truncate" ()
runner_token_test.go Enable tenv and testifylint rules ()
schedule.go Refactor "string truncate" ()
schedule_list.go Avoid user does not exist error when detecting schedule actions when the commit author is an external user ()
schedule_spec.go Use UTC as default timezone when schedule Actions cron tasks ()
schedule_spec_list.go Add container.FilterSlice function ()
schedule_spec_test.go Fix milestone deadline and date related problems ()
status.go Refactor locale&string&template related code ()
task.go Refactor "string truncate" ()
task_list.go Drop `IDOrderDesc` for listing Actions task and always order by `id DESC` ()
task_output.go Fix no ActionTaskOutput table waring ()
task_step.go Implement actions ()
tasks_version.go Update misspell to 0.5.1 and add `misspellings.csv` ()
utils.go Implement actions ()
utils_test.go Implement actions ()
variable.go Clarify Actions resources ownership ()