docs: add note about github.workspace (#1218)

Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
Matt Johnson-Pint
2025-04-03 19:18:50 -07:00
committed by GitHub
parent a5307c8f68
commit f51fbec16f

View File

@ -400,6 +400,8 @@ The location of the configuration file can be changed by using `--config=`
```yml
uses: golangci/golangci-lint-action@v7
with:
# In some rare cases,
# you could have to use `${{ github.workspace }}` as base directory to reference your configuration file.
args: --config=/my/path/.golangci.yml --issues-exit-code=0
# ...
```