mirror of
https://codeberg.org/gitnex/GitNex.git
synced 2024-12-16 15:48:13 +08:00
f310f9f8e6
Closes https://codeberg.org/gitnex/GitNex/issues/1167 The regex didn't match if the raw string starts with a `+` or `-`. Co-authored-by: qwerty287 <ndev@web.de> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1190 Reviewed-by: M M Arif <mmarif@noreply.codeberg.org> Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org> Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
21 lines
435 B
YAML
21 lines
435 B
YAML
pipeline:
|
|
author-header:
|
|
image: qwerty287/woodpecker-regex-check
|
|
group: check
|
|
settings:
|
|
pattern: "*.java"
|
|
regex: " \\\\* \\\\@author [\\\\S\\\\s]+"
|
|
must_contain: true
|
|
|
|
style:
|
|
image: qwerty287/woodpecker-intellij-formatter
|
|
group: check
|
|
settings:
|
|
file_pattern: "*.java"
|
|
path: "app/"
|
|
|
|
test:
|
|
image: alvrme/alpine-android:android-31-jdk11
|
|
commands:
|
|
- ./gradlew test
|