[Tool] Feature coverage add branch param (#57679)

Signed-off-by: AndyZiYe <yeziyu@starrocks.com>
This commit is contained in:
andyziye 2025-06-11 09:58:15 +08:00 committed by GitHub
parent 3c4a12b663
commit ab283ddbd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 3 deletions

View File

@ -538,7 +538,8 @@ jobs:
- FE-COV-REPORT
- BE-COV-REPORT
env:
GH_TOKEN: ${{ github.token }}
GH_TOKEN: ${{ secrets.PAT }}
BRANCH: ${{ needs.info.outputs.BRANCH }}
steps:
- name: Prepare Tools
run: |
@ -552,8 +553,12 @@ jobs:
- name: Result
run: |
cd ci-tool/scripts/feature_coverage
./version_cov.sh --repository ${{ github.repository }} --commit ${{ needs.info.outputs.PR_NUMBER }} --head ${{ inputs.COV_BASE_COMMIT }} --redownload --in_runner
./version_cov.sh --repository ${{ github.repository }} \
--commit ${{ needs.info.outputs.PR_NUMBER }} \
--head ${{ inputs.COV_BASE_COMMIT }} \
--branch ${BRANCH} \
--redownload \
--in_runner
Teardown:
runs-on: [self-hosted, normal]