plugin-agentscan

Woodpecker CI plugin for checking pull request authors with AgentScan.
Build
Build the binary with the following commands:
go build
go test
Docker
Build the Docker image with the following commands:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -tags netgo
docker build --rm=true -t woodpeckerci/plugin-agentscan .
Please note incorrectly building the image for the correct x64 linux and with
CGO disabled will result in an error when running the Docker image:
docker: Error response from daemon: Container command
'/bin/plugin-agentscan' not found or does not exist..