summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorZettat123 <zettat123@gmail.com>2023-05-17 10:11:13 +0200
committerGitHub <noreply@github.com>2023-05-17 10:11:13 +0200
commite7c2231dee356df5cbe5a47c07e31e3a8d090a6f (patch)
treeef63813e9fb42d5a4eec22516f4320bc8c947107 /package.json
parentUpdates to doc (#24757) (diff)
downloadforgejo-e7c2231dee356df5cbe5a47c07e31e3a8d090a6f.tar.xz
forgejo-e7c2231dee356df5cbe5a47c07e31e3a8d090a6f.zip
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>
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index cf3f5af99a..6ec0d755dc 100644
--- a/package.json
+++ b/package.json
@@ -35,6 +35,7 @@
"license-checker-webpack-plugin": "0.2.1",
"mermaid": "10.1.0",
"mini-css-extract-plugin": "2.7.5",
+ "minimatch": "9.0.0",
"monaco-editor": "0.38.0",
"monaco-editor-webpack-plugin": "7.0.1",
"pretty-ms": "8.0.0",