1
0
Fork 0
forgejo/models
yp05327 84abf4bd91
Avoid running action when action unit is disabled after workflows detected (#30331)
Fix #30243

We only checking unit disabled when detecting workflows, but not in
runner `FetchTask`.
So if a workflow was detected when action unit is enabled, but disabled
later, `FetchTask` will still return these detected actions.

Global setting: repo.ENABLED and repository.`DISABLED_REPO_UNITS` will
not effect this.

(cherry picked from commit d872ce006c0400edb10a05f7555f9b08070442e3)
2024-04-15 20:01:35 +02:00
..
actions Avoid running action when action unit is disabled after workflows detected (#30331) 2024-04-15 20:01:35 +02:00
activities [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
admin
asymkey Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
auth Sort BuiltinApplicationsClientIDs() in test 2024-04-06 11:30:02 +02:00
avatars
db [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
dbfs
fixtures fix(actions): call automerge service on successful commit state 2024-04-15 16:17:45 +02:00
forgejo/semver
forgejo_migrations Do not update PRs based on events that happened before they existed 2024-04-11 11:16:23 +02:00
git [PORT] gitea#30430: Fix rename branch 500 when the target branch is deleted but exist in database 2024-04-15 16:03:09 +02:00
issues Do not update PRs based on events that happened before they existed 2024-04-11 11:16:23 +02:00
migrations [TESTS] disable test failure on log.Error for now (part 2) 2024-04-11 07:36:59 +02:00
organization
packages
perm
project
pull
repo Clean up log messages (#30313) 2024-04-15 20:01:35 +02:00
secret
shared/types
system
unit
unittest [CHORE] Remove Microsoft SQL Server Support 2024-04-05 23:37:36 +02:00
user Add setting to disable user features when user login type is not plain (#29615) 2024-04-07 11:09:21 +02:00
webhook webhook: add admin-hooks tests 2024-04-09 20:02:14 +02:00
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go