2023-12-31 02:51:43 +00:00
|
|
|
# -- Switch back to depends_on when 2.1.x becomes available via cli
|
|
|
|
|
|
|
|
steps:
|
|
|
|
generate:
|
|
|
|
image: bufbuild/buf:1.28.1
|
|
|
|
commands:
|
|
|
|
- buf generate https://code.pitz.tech/licensing/proto.git
|
|
|
|
- git status -s
|
|
|
|
|
|
|
|
license:
|
|
|
|
image: golang:1.20
|
|
|
|
environment:
|
|
|
|
GO111MODULE: on
|
|
|
|
GOBIN: /usr/local/bin
|
|
|
|
commands:
|
|
|
|
- go install github.com/google/addlicense@latest
|
2023-12-31 05:22:41 +00:00
|
|
|
- addlicense -f ./legal/header.txt -skip yaml -skip yml -skip xml .
|
|
|
|
|
|
|
|
block-changes:
|
|
|
|
image: qwerty287/woodpecker-block-git-changes
|