You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/services/actions
Jason Song 3e8db31a5b
Refactor commit status for Actions jobs (#23786)
Before:
<img width="353" alt="xnip_230329_163852"
src="https://user-images.githubusercontent.com/9418365/228479807-424452df-10fa-45cf-ae4b-09939c0ed54c.png">
After:
<img width="508" alt="xnip_230329_163358"
src="https://user-images.githubusercontent.com/9418365/228479923-537b54fe-9564-4105-a068-bcc75fa2a7ea.png">

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.
1 year ago
..
clear_tasks.go Refactor commit status for Actions jobs (#23786) 1 year ago
commit_status.go Refactor commit status for Actions jobs (#23786) 1 year ago
init.go Implement actions (#21937) 1 year ago
job_emitter.go Refactor commit status for Actions jobs (#23786) 1 year ago
job_emitter_test.go Implement actions (#21937) 1 year ago
notifier.go Fix incorrect `HookEventType` of pull request review comments (#23650) 1 year ago
notifier_helper.go Refactor commit status for Actions jobs (#23786) 1 year ago