forgejo/routers/api
Denys Konovalov 29724f31c5
Refactor commit status for Actions jobs (#23786) (#24060)
Backport #23786

Refactor commit status for Actions jobs (#23786)

Highlights:
- Treat `StatusSkipped` as `CommitStatusSuccess` instead of
`CommitStatusFailure`, so it fixed #23599.
- Use the bot user `gitea-actions` instead of the trigger as the creator
of commit status.
- New format `<run_name> / <job_name> / (<event>)` for the context of
commit status to avoid conflicts.
- Add descriptions for commit status.
- Add the missing calls to `CreateCommitStatus`.
- Refactor `CreateCommitStatus` to make it easier to use.

Co-authored-by: Jason Song <i@wolfogre.com>
2023-04-11 22:37:34 -04:00
..
actions Refactor commit status for Actions jobs (#23786) (#24060) 2023-04-11 22:37:34 -04:00
packages Add actions support to package auth verification (#23729) (#24028) 2023-04-10 10:36:21 +02:00
v1 Fix protected branch for API (#24013) (#24027) 2023-04-10 14:48:02 +08:00