add docs
This commit is contained in:
@@ -27,5 +27,4 @@ jobs:
|
|||||||
persist-credentials: false # for work tj-actions/changed-files
|
persist-credentials: false # for work tj-actions/changed-files
|
||||||
- name: Check license
|
- name: Check license
|
||||||
uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/addlicense-docker-action.git@feature/DO-169/start_project
|
uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/addlicense-docker-action.git@feature/DO-169/start_project
|
||||||
with:
|
|
||||||
exclude_pattern: -ignore "foo.cpp"
|
|
||||||
|
|||||||
@@ -28,4 +28,12 @@ jobs:
|
|||||||
persist-credentials: false # for work tj-actions/changed-files
|
persist-credentials: false # for work tj-actions/changed-files
|
||||||
- name: Check license
|
- name: Check license
|
||||||
uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/addlicense-docker-action.git@v1
|
uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/addlicense-docker-action.git@v1
|
||||||
|
with:
|
||||||
|
exclude_pattern: -ignore "**/*.go" -ignore "vendor/**"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Параметры использования
|
||||||
|
|
||||||
|
Данный парамерт позволяет исключить файлы или директории из проверки на наличие лицензии.
|
||||||
|
|
||||||
|
**exclude_pattern:** ```-ignore "**/*.go" -ignore "vendor/**"```
|
||||||
|
|||||||
Reference in New Issue
Block a user