maxsxu commented on code in PR #17253:
URL: https://github.com/apache/pulsar/pull/17253#discussion_r953559386


##########
.github/workflows/ci-documentbot.yml:
##########
@@ -28,7 +28,7 @@ on:
       - unlabeled
 
 concurrency:
-  group: ${{ github.workflow }}-${{ github.ref }}
+  group: ${{ github.workflow }}-${{ github.ref }}-${{ 
github.pull_request.number }}

Review Comment:
   Should use `${{ github.workflow }}-${{ github.ref }}-${{ 
github.event.pull_request.number }}` as the concurrency group can only use the 
[github 
context](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency)
   
   The `github.pull_request.number` can only be retrieved within job.



-- 
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