8000
Skip to content

Add self-trigger paths to CI workflows and rename release files (#226) #5

Add self-trigger paths to CI workflows and rename release files (#226)

Add self-trigger paths to CI workflows and rename release files (#226) #5

Workflow file for this run

name: Go License Validation
on:
push:
branches: [main]
paths:
- .github/workflows/ci-licenses.yaml
- build/licenses/**
- cli/go.mod
- cli/go.sum
- cli/NOTICE
- sdk/go/go.mod
- sdk/go/go.sum
- sdk/go/NOTICE
pull_request:
branches: [main]
paths:
- .github/workflows/ci-licenses.yaml
- build/licenses/**
- cli/go.mod
- cli/go.sum
- cli/NOTICE
- sdk/go/go.mod
- sdk/go/go.sum
- sdk/go/NOTICE
permissions:
contents: read
jobs:
licenses:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: cli/go.mod
- name: Install go-licenses
run: go install github.com/google/go-licenses/v2@latest
- name: Check SDK licenses
working-directory: sdk/go
run: make check-licenses
- name: Check SDK NOTICE freshness
working-directory: sdk/go
run: make check-notice
- name: Check CLI licenses
working-directory: cli
run: make check-licenses
- name: Check CLI NOTICE freshness
working-directory: cli
run: make check-notice
0