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.
gitea/routers/web/repo
Zettat123 e7c2231dee
Support for status check pattern (#24633)
This PR is to allow users to specify status checks by patterns. Users
can enter patterns in the "Status Check Pattern" `textarea` to match
status checks and each line specifies a pattern. If "Status Check" is
enabled, patterns cannot be empty and user must enter at least one
pattern.
Users will no longer be able to choose status checks from the table. But
a __*`Matched`*__ mark will be added to the matched checks to help users
enter patterns.

Benefits:
- Even if no status checks have been completed, users can specify
necessary status checks in advance.
- More flexible. Users can specify a series of status checks by one
pattern.

Before:

![image](https://github.com/go-gitea/gitea/assets/15528715/635738ad-580c-49cd-941d-c721e5b99be4)

After:

![image](https://github.com/go-gitea/gitea/assets/15528715/16aa7b1b-abf1-4170-9bfa-ae6fc9803a82)

---------

Co-authored-by: silverwind <me@silverwind.io>
2 years ago
..
actions Don't filter action runs based on state (#24711) 2 years ago
setting Move secrets and runners settings to actions settings (#24200) 2 years ago
activity.go Implement FSFE REUSE for golang files (#21840) 2 years ago
attachment.go Make repository response support HTTP range request (#24592) 2 years ago
blame.go Sort repo topic labels by name (#24123) 2 years ago
branch.go Improve RSS (#24335) 2 years ago
cherry_pick.go Rename almost all Ctx functions (#22071) 2 years ago
commit.go Pass 'not' to commit count (#24473) 2 years ago
compare.go Don't list root repository on compare page if pulls not allowed (#24183) 2 years ago
download.go Make repository response support HTTP range request (#24592) 2 years ago
editor.go Allow adding new files to an empty repo (#24164) 2 years ago
editor_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
find.go Implement FSFE REUSE for golang files (#21840) 2 years ago
helper.go Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890) 2 years ago
helper_test.go Refactor authors dropdown (send get request from frontend to avoid long wait time) (#23890) 2 years ago
http.go Require repo scope for PATs for private repos and basic authentication (#24362) 2 years ago
http_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
issue_content_history.go Move helpers to be prefixed with `gt-` (#22879) 2 years ago
issue_dependency.go Add API to manage issue dependencies (#17935) 2 years ago
issue_label.go Make label templates have consistent behavior and priority (#23749) 2 years ago
issue_label_test.go Make label templates have consistent behavior and priority (#23749) 2 years ago
issue_lock.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
issue_stopwatch.go Speed up HasUserStopwatch & GetActiveStopwatch (#23051) 2 years ago
issue_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_timetrack.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
issue_watch.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
lfs.go Introduce path Clean/Join helper functions (#23495) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
middlewares.go Use graceful editorconfig loader to reduce errors when loading malformed editorconfigs (#21257) 2 years ago
migrate.go Make repo migration cancelable and fix various bugs (#24605) 2 years ago
milestone.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
packages.go Use dynamic package type list (#22263) 2 years ago
patch.go Redirect to the commit page after applying patch (#23056) 2 years ago
projects.go Add unset default project column (#23531) 2 years ago
projects_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
pull.go Support for status check pattern (#24633) 2 years ago
pull_review.go Make Ctrl+Enter submit a pending comment (starting review) instead of submitting a single comment (#23245) 2 years ago
release.go fix: release page for empty or non-existing target (#24470) 2 years ago
release_test.go fix: release page for empty or non-existing target (#24470) 2 years ago
render.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Remove the parallelizing when loading repo for dashboard (#24705) 2 years ago
search.go Fix improper HTMLURL usages in Go code (#22839) 2 years ago
setting.go Refactor Pull Mirror and fix out-of-sync bugs (#24732) 2 years ago
setting_protected_branch.go Support for status check pattern (#24633) 2 years ago
settings_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
tag.go Add main landmark to templates and adjust titles (#22670) 2 years ago
topic.go Implement FSFE REUSE for golang files (#21840) 2 years ago
treelist.go Implement FSFE REUSE for golang files (#21840) 2 years ago
view.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
view_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
webhook.go Reenable creating default webhooks. (#24626) 2 years ago
wiki.go Pass 'not' to commit count (#24473) 2 years ago
wiki_test.go Make wiki title supports dashes and improve wiki name related features (#24143) 2 years ago