We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 029121c commit 53d523dCopy full SHA for 53d523d
noxfile.py
@@ -145,8 +145,11 @@ def zizmor(session: nox.Session) -> None:
145
"""
146
Run zizmor, a Github Actions security checker
147
148
+ args: list[str] = list(session.posargs)
149
+ if not any(a.startswith("--persona") for a in args):
150
+ args.append("--persona=regular")
151
install(session, req="zizmor")
- session.run("zizmor", "--persona=regular", ".github/workflows")
152
+ session.run("zizmor", *args, ".github/workflows")
153
154
155
@nox.session
0 commit comments