Skip to content

Commit

Permalink
Add github action to check for logging macros
Browse files Browse the repository at this point in the history
Signed-off-by: Yadunund <[email protected]>
  • Loading branch information
Yadunund committed Jul 1, 2024
1 parent 73af670 commit 157f879
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/check_logging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Ensure that PR diff does not include RCUTILS_LOG_* macros as these induce deadlocks.
# See https://github.com/ros2/rmw_zenoh/issues/182 for more details.
name: "Check logging macros"
on: [pull_request]
jobs:
check_logging:
runs-on: ubuntu-latest
steps:
- name: Check logging macros
uses: JJ/github-pr-contains-action@releases/v14.1
with:
github-token: ${{github.token}}
diffDoesNotContain: "RCUTILS_LOG_|rcutils/logging_macros.h"

0 comments on commit 157f879

Please sign in to comment.