Skip to content

Upgrade media userspace packages for WCL #1270

Upgrade media userspace packages for WCL

Upgrade media userspace packages for WCL #1270

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# This action checks that the licenses.json file is up-to-date
# and that the LICENSES-MAP.md file is up-to-date
---
name: Spec License Map Check
on:
pull_request:
branches: [3.0*,next,26.06*]
types: [opened, synchronize, reopened]
paths:
- .github/workflows/check-license-map.yml
- '**.spec'
permissions: read-all
jobs:
check:
name: Spec License Map Check
runs-on: ubuntu-latest
steps:
# Checkout the branch of our repo that triggered this action
- name: Workflow trigger checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 #v4
with:
persist-credentials: false
- name: Setup Python 3.12
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 #v5
with:
python-version: 3.12
- name: Get Python dependencies
run: python3 -m pip install python-rpm-spec
- name: Copy Azure Linux rpm
run: |
echo ##########
echo "Copy Azure Linux rpm"
echo ##########
toolkit/scripts/toolchain/toolchain_update_git_submodule.sh
shell: bash
- name: Run license map checking script
run: |
python3 ./toolkit/scripts/license_map.py \
./LICENSES-AND-NOTICES/SPECS/data/licenses.json \
./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md \
./SPECS \
./SPECS-EXTENDED \
./SPECS-SIGNED