From fc10be9c5891c16e401ee64bc5656c69a31a67f3 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 8 Nov 2024 08:54:57 -0500 Subject: [PATCH] [CI] build-dev: skip fix:i18n (#5564) --- .github/workflows/build-dev.yml | 1 + package.json | 2 +- scripts/check-markdown-wrapper.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-dev.yml b/.github/workflows/build-dev.yml index 1cd9768053c4..473ba9763b33 100644 --- a/.github/workflows/build-dev.yml +++ b/.github/workflows/build-dev.yml @@ -37,6 +37,7 @@ jobs: - run: npm run log:test-and-fix env: + FIX_MOST_SKIP: i18n|refcache|submodule PIN_SKIP: ${{ inputs.submodule_path_regex }} - uses: actions/upload-artifact@v4 diff --git a/package.json b/package.json index 741c6aac9685..8877a73ea6a0 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "_diff:fail": "git diff --name-only --exit-code || exit 1", "_fail": "exit 1", "_filename-error": "echo 'ERROR: the following files violate naming conventions; fix using: `npm run fix:filenames`'; echo; npm run -s _ls-bad-filenames; exit 1", - "_fix:most": "npm run all -- $(npm -s run _list:fix:* | grep -Ev 'refcache|submodule')", + "_fix:most": "npm run seq -- $(npm -s run _list:fix:* | grep -Ev \"${FIX_MOST_SKIP:-refcache|submodule}\")", "_get:no": "echo SKIPPING get operation", "_get:submodule": "set -x && git submodule update --init ${DEPTH:- --depth 999}", "_hugo": "hugo --cleanDestinationDir", diff --git a/scripts/check-markdown-wrapper.sh b/scripts/check-markdown-wrapper.sh index b960dcabc335..bfd1472d04f5 100755 --- a/scripts/check-markdown-wrapper.sh +++ b/scripts/check-markdown-wrapper.sh @@ -7,7 +7,7 @@ symlink_targets="content-modules/opentelemetry-go/example content-modules/opente for symlink_target in $symlink_targets; do if [[ ! -e $symlink_target ]]; then - echo "WARNING: required symlink target does not exist, creating it: $symlink_target" + echo "INFO: required symlink target does not exist, creating it: $symlink_target" (set -x; mkdir -p "$symlink_target") fi done