feature: Add custom prompt for dependency scanning #211
This file contains hidden or 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
| name: License | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 'Checkout Code' | |
| uses: actions/checkout@v4 | |
| - name: Set up Go ${{matrix.go-version}} | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{matrix.go-version}} | |
| - name: 'Validate License Headers' | |
| # NOTE: Keep in sync with .hooks/addlicense | |
| run: go run github.com/google/[email protected] -check -s=only -ignore='bin/**' -ignore='**/.terraform.lock.hcl' -ignore='definitions/**' ** |