tisonkun commented on PR #17253: URL: https://github.com/apache/pulsar/pull/17253#issuecomment-1225294313
@nodece I think it's because we use [`pull_request_target`](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target) event trigger here so the logic will only take effect once merged. Although, I'm not quite familiar with this domain so it can be wrong. Instead of replacing `github.ref` with `github. pull_request.number`, I suggest you use `${{ github.workflow }}-${{ github.ref }}-${{ github. pull_request.number }}` to see whether it helps after merge, while prevents any regression. -- 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]
