Skip to content

Audio examples

Audio examples #6

# The MIT License (MIT)
#
# Copyright (c) 2018 Mateusz Pusz
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
name: Dependency Review
on:
pull_request:
branches: [ master ]
permissions:
contents: read
pull-requests: write # To post comments on PRs
jobs:
dependency-review:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v4
with:
# Configuration optimized for mp-units project
fail-on-severity: high
# Permissive licenses commonly used by mp-units dependencies
allow-licenses: >
Apache-2.0, MIT, BSD-2-Clause, BSD-3-Clause, ISC, CC0-1.0,
Unlicense, BSL-1.0, 0BSD, WTFPL, MPL-2.0, GPL-2.0+, LGPL-2.1+
# Only deny the most restrictive licenses
deny-licenses: >
AGPL-1.0, AGPL-3.0, SSPL-1.0
- name: Generate dependency summary
if: always()
run: |
echo "## 🔒 Dependency Security Review" >> $GITHUB_STEP_SUMMARY
if [ "${{ job.status }}" = "success" ]; then
echo "✅ **No security issues detected in dependency changes**" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "All new and updated dependencies have been verified for:" >> $GITHUB_STEP_SUMMARY
echo "- Known security vulnerabilities" >> $GITHUB_STEP_SUMMARY
echo "- License compatibility" >> $GITHUB_STEP_SUMMARY
echo "- Supply chain integrity" >> $GITHUB_STEP_SUMMARY
else
echo "⚠️ **Security or licensing issues found**" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "Please review the dependency changes and address any issues before merging." >> $GITHUB_STEP_SUMMARY
fi