Skip to content

Update minor-and-patch #38

Update minor-and-patch

Update minor-and-patch #38

name: License
on:
pull_request:
branches:
- main
permissions:
contents: read
jobs:
license-header-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
with:
go-version: "1.26.0"
- name: Install addlicense
run: go install github.com/google/addlicense@b289835c0741ba2fb92dd5f61af070e79c69a55e # v1.2
- name: Run addlicense
run: addlicense -f ./addlicense -check $(find . -name "*.go" -type f -print0 | xargs -0)