- Notifications
You must be signed in to change notification settings - Fork950
Add opt-in filtering for content from users without push access#1037
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
# Create a github action that runs the license check script and fails if it exits with a non-zero status | |
name:License Check | |
on:[push, pull_request] | |
permissions: | |
contents:read | |
jobs: | |
license-check: | |
runs-on:ubuntu-latest | |
steps: | |
-name:Check out code | |
uses:actions/checkout@v4 | |
-name:Set up Go | |
uses:actions/setup-go@v5 | |
with: | |
go-version-file:"go.mod" | |
-name:check licenses | |
run:./script/licenses-check |