Skip to content

Commit e856643

Browse files
authored
Minor update automation workflow improvement (#78)
1 parent 361c1e2 commit e856643

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/update-automation.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,12 @@ jobs:
287287
fi
288288
done
289289
290+
- name: Update excluded packages
291+
env:
292+
LATEST_CODE_OSS_TAG: ${{ needs.update-automation.outputs.latest-code-oss-tag }}
293+
run: |
294+
jq --arg version "$LATEST_CODE_OSS_TAG" 'to_entries | map(if .key | startswith("code-oss-dev@") then .key = "code-oss-dev@" + $version else . end) | from_entries' build-tools/oss-attribution/excluded-packages.json > tmp.json && mv tmp.json build-tools/oss-attribution/excluded-packages.json
295+
290296
- name: Generate unified OSS attribution
291297
run: |
292298
./scripts/generate-oss-attribution.sh --command generate_unified_oss_attribution

0 commit comments

Comments
 (0)