From 0ab2c406edb3c2564099f8dc9eec71d3a63bcf2a Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 14 Nov 2024 22:36:55 -0500 Subject: [PATCH] fix: update env var --- .github/workflows/push-tag.yml | 2 +- dist/codecov.sh | 2 +- scripts/set_do_upload_args.sh | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push-tag.yml b/.github/workflows/push-tag.yml index 4c054bc..12ec1cf 100644 --- a/.github/workflows/push-tag.yml +++ b/.github/workflows/push-tag.yml @@ -65,6 +65,6 @@ jobs: - name: Create pull request into main run: | - gh pr create --fill --base "main" --reviewer "codecov/report-upload" + gh pr create --fill --base "main" --reviewer "@codecov/report-upload" env: GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} diff --git a/dist/codecov.sh b/dist/codecov.sh index 6f534ea..b53074d 100755 --- a/dist/codecov.sh +++ b/dist/codecov.sh @@ -134,6 +134,7 @@ cc_cr_args+=( $(write_existing_args CC_PR) ) cc_cr_args+=( $(write_existing_args CC_SHA) ) cc_cr_args+=( $(write_existing_args CC_SLUG) ) cc_du_args=() +cc_du_args+=( $(write_existing_args CC_ENV) ) OLDIFS=$IFS;IFS=, cc_du_args+=( $(write_existing_args CC_BRANCH) ) cc_du_args+=( $(write_existing_args CC_BUILD) ) @@ -143,7 +144,6 @@ cc_du_args+=( $(write_existing_args CC_DIR) ) cc_du_args+=( $(write_truthy_args CC_DISABLE_FILE_FIXES) ) cc_du_args+=( $(write_truthy_args CC_DISABLE_SEARCH) ) cc_du_args+=( $(write_truthy_args CC_DRY_RUN) ) -cc_du_args+=( $(write_existing_args CC_ENV) ) if [ -n "$CC_EXCLUDES" ]; then for directory in $CC_EXCLUDES; do diff --git a/scripts/set_do_upload_args.sh b/scripts/set_do_upload_args.sh index cb357d3..c5cb6fb 100755 --- a/scripts/set_do_upload_args.sh +++ b/scripts/set_do_upload_args.sh @@ -2,6 +2,8 @@ codecov_du_args=() +codecov_du_args+=( $(write_existing_args CODECOV_ENV) ) + OLDIFS=$IFS;IFS=, codecov_du_args+=( $(write_existing_args CODECOV_BRANCH) ) @@ -12,7 +14,6 @@ codecov_du_args+=( $(write_existing_args CODECOV_DIR) ) codecov_du_args+=( $(write_truthy_args CODECOV_DISABLE_FILE_FIXES) ) codecov_du_args+=( $(write_truthy_args CODECOV_DISABLE_SEARCH) ) codecov_du_args+=( $(write_truthy_args CODECOV_DRY_RUN) ) -codecov_du_args+=( $(write_existing_args CODECOV_ENV) ) if [ -n "$CODECOV_EXCLUDES" ]; then