Description
GitHub Actions workflows for Ratis CI have two flavors: post-commit and pull-request. The main difference between the two is that Sonar is not updated for PRs:
- - run: ./dev-support/checks/sonar.sh - if: github.repository == 'apache/incubator-ratis' - env: - SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Similar to HDDS-3822, we can keep only the post-commit definition and execute sonar.sh conditionally.
The other difference is missing Summary of failures in the post-commit workflow, but it can be added.
Attachments
Issue Links
- links to