Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
Description
GitHub Actions workflows for Ozone CI have two flavors: post-commit and pull-request. The only difference between the two is that Sonar is not updated for PRs:
- - uses: ./.github/buildenv - if: github.repository == 'apache/hadoop-ozone' - with: - args: ./hadoop-ozone/dev-support/checks/sonar.sh - env: - SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
This issue proposes to keep only the post-commit definition and execute sonar.sh conditionally.
Attachments
Issue Links
- links to