mirror of
https://github.com/zizmorcore/zizmor.git
synced 2025-12-23 08:47:33 +00:00
Update usage directions to explicitly state permissions needed (#856)
This commit is contained in:
parent
5d6a31931f
commit
c9983513df
1 changed files with 3 additions and 0 deletions
|
|
@ -109,6 +109,9 @@ zizmor --offline workflow.yml
|
|||
# passing a token explicitly will enable online mode
|
||||
zizmor --gh-token ghp-... workflow.yml
|
||||
|
||||
# use the [GitHub CLI](https://cli.github.com/) token instead of a long-lived PAT
|
||||
zizmor --gh-token $(gh auth token) workflow.yml
|
||||
|
||||
# online for the purpose of fetching the input (example/example),
|
||||
# but all audits themselves are offline
|
||||
zizmor --no-online-audits --gh-token ghp-... example/example
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue