lhotari opened a new pull request #9527: URL: https://github.com/apache/pulsar/pull/9527
Fixes #9526 ### Motivation - `diff-only` has a critical bug https://github.com/apache/pulsar-test-infra/issues/12 which is also reported as https://github.com/apache/pulsar/issues/9526 - GitHub Actions has paths-ignore feature which makes the `diff-only` action obsolete - docs for paths-ignore: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths ### Modifications - Replace `diff-only` with the usage of `paths-ignore` - Also fix an unrelated issue where workflows wouldn't be able to checkout changes for push events to `branch-*` branches: - use `github.sha` instead of `github.event.pull_request.head.sha` for checkout so that both `pull_request` and `push` events are supported ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
