slawekjaranowski commented on code in PR #330:
URL: 
https://github.com/apache/maven-gh-actions-shared/pull/330#discussion_r4179171105


##########
.github/workflows/pr-check.yml:
##########
@@ -78,6 +71,10 @@ jobs:
               return;
             }
 
+            // Values used by the job condition, logged for diagnosis
+            const { user, author_association } = context.payload.pull_request;
+            core.info(`Author: ${user.login}, type: ${user.type}, 
author_association: ${author_association}`);

Review Comment:
   `context.payload.pull_request` is available - we use it 
   
   ```javascript
               const prNumber = context.payload.pull_request?.number;
   
   ``` 
   
   but ok, we can use data from pr object



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to