Add fix:refcache to semconv update automation (#6958)

This commit is contained in:
Trask Stalnaker 2025-05-22 07:43:44 -07:00 committed by GitHub
parent f92dd4fbd0
commit 8c099b0276
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 0 deletions

View File

@ -86,6 +86,18 @@ jobs:
sed -i "s/^\tsemconv-pin = .*/\tsemconv-pin = $commit_desc/" .gitmodules sed -i "s/^\tsemconv-pin = .*/\tsemconv-pin = $commit_desc/" .gitmodules
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
- name: Fix refcache
run: |
npm install --omit=optional
npm run fix:refcache
- name: Commit changes
run: |
git add -A git add -A
if ! git diff-index --quiet --cached HEAD; then if ! git diff-index --quiet --cached HEAD; then