File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -32,19 +32,22 @@ jobs:
32
32
LABELS=$(jq -r '.pull_request.labels[].name' "$GITHUB_EVENT_PATH" || echo "")
33
33
AUTHOR=$(jq -r '.pull_request.user.login' "$GITHUB_EVENT_PATH")
34
34
TITLE=$(jq -r '.pull_request.title' "$GITHUB_EVENT_PATH")
35
- ACCEPTED_LABEL = "module-reference"
36
- ACCEPTED_AUTHOR = "<TODO> "
37
- ACCEPTED_TITLE = "NGINX Plus - Module Ref"
35
+ ACCEPTED_LABEL= "module-reference"
36
+ ACCEPTED_AUTHOR="github-actions "
37
+ ACCEPTED_TITLE= "NGINX Plus - Module Ref"
38
38
39
39
EXEMPTION=false
40
40
41
41
if echo "$LABELS" | grep -q "$ACCEPTED_LABEL"; then
42
+ echo "Label match..."
42
43
EXEMPTION=true
43
44
fi
44
45
if [[ "$AUTHOR" == "$ACCEPTED_AUTHOR" ]]; then
46
+ echo "Author match..."
45
47
EXEMPTION=true
46
48
fi
47
49
if [[ "$TITLE" == *"${ACCEPTED_TITLE}"* ]]; then
50
+ echo "Title match..."
48
51
EXEMPTION=true
49
52
fi
50
53
You can’t perform that action at this time.
0 commit comments