diff --git a/.github/workflows/semconv-validation.yml b/.github/workflows/semconv-validation.yml index 91f6faac0f..ab0db2d6e6 100644 --- a/.github/workflows/semconv-validation.yml +++ b/.github/workflows/semconv-validation.yml @@ -6,7 +6,7 @@ on: - "src/OpenTelemetry.SemanticConventions/**" jobs: - run-dotnet-format: + run-semconv-checks: runs-on: ubuntu-latest steps: diff --git a/build/scripts/check-semconv-versions.ps1 b/build/scripts/check-semconv-versions.ps1 index af63452065..4a566dd198 100644 --- a/build/scripts/check-semconv-versions.ps1 +++ b/build/scripts/check-semconv-versions.ps1 @@ -12,7 +12,7 @@ $PsWeaverVersion = Select-String -Path $PowerShellScript -Pattern '\$GENERATOR_V # Bash semconv version $BashSemConvVersion = Select-String -Path $BashScript -Pattern 'SEMCONV_VERSION="([^"]+)"' | ForEach-Object { $_.Matches.Groups[1].Value } # Bash weaver version -$BashWeaverVersion = Select-String -Path $BashScript -Pattern 'SEMCONV_VERSION="([^"]+)"' | ForEach-Object { $_.Matches.Groups[1].Value } +$BashWeaverVersion = Select-String -Path $BashScript -Pattern 'GENERATOR_VERSION="([^"]+)"' | ForEach-Object { $_.Matches.Groups[1].Value } # Check if the semconv versions match if ($PsSemConvVersion -ne $BashSemConvVersion) {