File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -72,3 +72,31 @@ The allowed and forbidden options can't be used at the same time. If you want to
7272** Optional** Disregard licenses that failed to be retrieved.
7373
7474** Default** ` false `
75+
76+ ## Example Usage
77+
78+ ``` yaml
79+ name : license_check
80+
81+ concurrency :
82+ group : ${{ github.workflow }}-${{ github.ref }}
83+ cancel-in-progress : true
84+
85+ on :
86+ pull_request :
87+ paths :
88+ - ' pubspec.yaml'
89+ - ' .github/workflows/license_check.yaml'
90+ push :
91+ branches :
92+ - main
93+ paths :
94+ - ' pubspec.yaml'
95+ - ' .github/workflows/license_check.yaml'
96+
97+ jobs :
98+ license_check :
99+ uses : VeryGoodOpenSource/very_good_workflows/.github/workflows/license_check.yml@v1
100+ with :
101+ allowed : ' MIT,BSD-3-Clause,BSD-2-Clause,Apache-2.0'
102+ ` ` `
You can’t perform that action at this time.
0 commit comments