Merge pull request #209 from l3montree-dev/188-pipeline-warning-env-n… #607
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
# Licenses Check Workflow Definition | |
# This workflow is triggered on every push to the repository | |
name: Licenses Check Workflow | |
on: | |
pull_request: | |
push: | |
branches: | |
- '*' | |
tags: | |
- '*' | |
jobs: | |
license_check: | |
runs-on: ubuntu-latest | |
name: Check for unapproved licenses | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Install dependencies | |
run: go install ./... | |
- uses: ralexander-phi/license_approval@master | |
with: | |
working_directory: ${{ github.workspace }} | |
extra_flags: --decisions_file ./docs/dependency_decisions.yml |