Adding MSSQL quickstart #335
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check for forbidden licenses | |
# Checks for any forbidden/copyleft licenses using their SPDX identifiers | |
# (https://spdx.org/licenses/) | |
# To check NPM based packages, NPM License Checker (https://www.npmjs.com/package/license-checker) is used to | |
# generate a listing of packages and their associated licenses. This listing is checked against a | |
# regex in FORBIDDEN_LICENSE_CHECK to ensure no forbidden licenses are present. If any are detected, the build is failed. | |
# List of copyleft licenses derived from Blue Oak Council Guide to Copyleft | |
# (https://blueoakcouncil.org/copyleft) | |
# List of forbidden licenses derived from Google License Classifier | |
# (https://github.com/google/licenseclassifier) | |
on: | |
pull_request: | |
branches: | |
- trunk | |
- release-* | |
jobs: | |
license-check: | |
name: license check | |
runs-on: ubuntu-latest | |
env: | |
FORBIDDEN_LICENSE_CHECK: | | |
grep -E "GPL|CC-BY-SA|CC-BY-NC|CC-BY-NC-SA|CC-BY-NC-ND|APSL|CPAL|EUPL|NPOSL|OSL|SSPL|Parity|RPL|QPL|Sleepycat|copyleft|CDDL|CPL|EPL|ErlPL|IPL|MS-RL|SPL|Facebook|Commons-Clause" | grep . && exit 1 || echo "ok" | |
steps: | |
- uses: actions/checkout@v2 |