Add GitHub Actions workflow #1
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: 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 |