Skip to content

Add License Compliance Workflow #502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: License Compliance Check
# UNCOMMENT TO ENABLE THE WORKFLOW
# on:
# push:
# branches:
# - "**"
# paths-ignore:
# - "k8s/**"
# - "**/*.md"
jobs:
license-check:
runs-on: ubuntu-latest
steps:

# SETUP DEVELOPMENT ENVIRONMENT FOR THE LANGUAGE OF THE REPOSITORY
# this should be similar to the setup for tests

###############################################################
# - name: Checkout and setup go for private repositories
# uses: whalebone/github-actions-go/checkout-setup@v1
# with:
# go-version-file: "go.mod"
# GH_USERNAME: ${{ secrets.GH_USERNAME }}
# GH_TOKEN: ${{ secrets.GH_TOKEN }}
###############################################################
- name: Run License Compliance Check
uses: whalebone/license-compliance@v1
with:
licenses_group: 'cloud' # 'cloud' or 'onprem' at the moment