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:
3232            LABELS=$(jq -r '.pull_request.labels[].name' "$GITHUB_EVENT_PATH" || echo "") 
3333            AUTHOR=$(jq -r '.pull_request.user.login' "$GITHUB_EVENT_PATH") 
3434            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" 
3838
3939            EXEMPTION=false 
4040
4141            if echo "$LABELS" | grep -q "$ACCEPTED_LABEL"; then 
42+               echo "Label match..." 
4243              EXEMPTION=true 
4344            fi 
4445            if [[ "$AUTHOR" == "$ACCEPTED_AUTHOR" ]]; then 
46+               echo "Author match..." 
4547              EXEMPTION=true 
4648            fi 
4749            if [[ "$TITLE" == *"${ACCEPTED_TITLE}"* ]]; then 
50+               echo "Title match..." 
4851              EXEMPTION=true 
4952            fi 
5053             
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments