Attila Doroszlai created HDDS-3822:
--------------------------------------
Summary: Eliminate duplicated GitHub Actions workflow
Key: HDDS-3822
URL: https://issues.apache.org/jira/browse/HDDS-3822
Project: Hadoop Distributed Data Store
Issue Type: Improvement
Components: build
Reporter: Attila Doroszlai
Assignee: Attila Doroszlai
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:
{code}
- - 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 }}
{code}
This issue proposes to keep only the post-commit definition and execute
{{sonar.sh}} conditionally.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]