0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 08:54:17 -05:00
forgejo/services/actions
Zettat123 9159842b56
The job should always run when if is always() (#29464)
Fix #27906

According to GitHub's
[documentation](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds),
a job should always run when its `if` is `always()`

> If you would like a job to run even if a job it is dependent on did
not succeed, use the `always()` conditional expression in
`jobs.<job_id>.if`.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit d0fe6ea4e101198911383058a2e121e384934a9c)
2024-03-06 12:10:44 +08:00
..
auth.go Port "Use general token signing secret" 2024-02-19 20:49:37 +01:00
auth_test.go Port "Use general token signing secret" 2024-02-19 20:49:37 +01:00
cleanup.go Expire artifacts before deleting them physically (#29241) 2024-02-23 09:06:14 +01:00
clear_tasks.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
commit_status.go Show commit status for releases (#29149) 2024-02-19 22:58:33 +01:00
init.go Move notification interface to services layer (#26915) 2023-09-05 18:37:47 +00:00
job_emitter.go The job should always run when if is always() (#29464) 2024-03-06 12:10:44 +08:00
job_emitter_test.go The job should always run when if is always() (#29464) 2024-03-06 12:10:44 +08:00
main_test.go [ACTIONS] skip superflous pull request synchronized event (#2314) 2024-02-11 13:06:54 +00:00
notifier.go Improve the issue_comment workflow trigger event (#29277) 2024-02-26 22:30:26 +01:00
notifier_helper.go Ignore empty repo for CreateRepository in action notifier (#29416) 2024-03-06 12:10:43 +08:00
notifier_helper_test.go [ACTIONS] skip superflous pull request synchronized event (#2314) 2024-02-11 13:06:54 +00:00
schedule_tasks.go [ACTIONS] on.schedule: the event is always "schedule" 2024-02-05 16:54:44 +01:00