Attila Doroszlai created RATIS-1306:
---------------------------------------
Summary: Eliminate duplicated GitHub Actions workflow
Key: RATIS-1306
URL: https://issues.apache.org/jira/browse/RATIS-1306
Project: Ratis
Issue Type: Improvement
Components: build
Reporter: Attila Doroszlai
Assignee: Attila Doroszlai
GitHub Actions workflows for Ratis CI have two flavors: post-commit and
pull-request. The only difference between the two is that Sonar is not updated
for PRs:
{code}
- - run: ./dev-support/checks/sonar.sh
- if: github.repository == 'apache/incubator-ratis'
- env:
- SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
{code}
Similar to HDDS-3822, we can keep only the post-commit definition and execute
{{sonar.sh}} conditionally.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)