bitwarden_workflow_linter 1.0.0__tar.gz → 1.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/PKG-INFO +1 -1
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/__about__.py +1 -1
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/cli.py +3 -2
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/lint.py +1 -1
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.editorconfig +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.gitattributes +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/CODEOWNERS +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/actionlint.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/renovate.json +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/_version_type.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/actionlint_windows.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/bwwl_operations.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/cd.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/ci.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/enforce-labels.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/examples/ci.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/examples/example-references/_build.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/examples/example-references/_docker.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/examples/example-references/_test.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/examples/example-references/_version.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/examples/example.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/examples/pull_request_target.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/examples/scan.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/scan.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.gitignore +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.husky/pre-commit +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.python-version +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/CONTRIBUTING.md +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/LICENSE.txt +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/Pipfile +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/Pipfile.lock +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/README.md +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/RULE_ROLLOUT.md +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/SECURITY.md +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/Taskfile.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/package-lock.json +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/package.json +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/pylintrc +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/pyproject.toml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/pyproject.toml.tpl +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/settings.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/__init__.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/actionlint_version.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/actions.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/default_actions.json +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/default_settings.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/load.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/models/__init__.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/models/job.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/models/step.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/models/workflow.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rule.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/check_pr_target.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/name_capitalized.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/name_exists.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/permissions_exist.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/run_actionlint.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/step_approved.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/step_pinned.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/rules/underscore_outputs.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/src/bitwarden_workflow_linter/utils.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/__init__.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/conftest.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test-alt.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test-min-incorrect.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test-min.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test-outputs-incorrect.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test.yml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test_a.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test_workflow.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test_workflow_incorrect.yaml +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_check_pr_target.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_name_capitalized.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_name_exists.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_permissions_exist.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_run_actionlint.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_step_approved.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_step_pinned.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_underscore_output.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/test_job.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/test_lint.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/test_load.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/test_rule.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/test_step.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/test_utils.py +0 -0
- {bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/test_workflow.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bitwarden_workflow_linter
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.1.0
|
4
4
|
Summary: Custom GitHub Action Workflow Linter
|
5
5
|
Project-URL: Homepage, https://github.com/bitwarden/workflow-linter
|
6
6
|
Project-URL: Issues, https://github.com/bitwarden/workflow-linter/issues
|
@@ -36,9 +36,10 @@ def main(input_args: Optional[List[str]] = None) -> int:
|
|
36
36
|
raise SystemExit(parser.print_help())
|
37
37
|
|
38
38
|
args = parser.parse_args(input_args)
|
39
|
-
|
39
|
+
if len(args.files) > 1:
|
40
|
+
raise parser.error("Only one -f / --files flag must be specified")
|
40
41
|
if args.command == "lint":
|
41
|
-
return linter_cmd.run(args.files, args.strict)
|
42
|
+
return linter_cmd.run(args.files[0], args.strict)
|
42
43
|
|
43
44
|
if args.command == "actions":
|
44
45
|
print(f"{'-'*50}\n!!bwwl actions is in BETA!!\n{'-'*50}")
|
@@ -51,7 +51,7 @@ class LinterCmd:
|
|
51
51
|
action="store_true",
|
52
52
|
help="return non-zero exit code on warnings as well as errors",
|
53
53
|
)
|
54
|
-
parser_lint.add_argument("-f", "--files", action="append", help="files to lint")
|
54
|
+
parser_lint.add_argument("-f", "--files", nargs="+", action="append", required=True, help="files to lint")
|
55
55
|
parser_lint.add_argument(
|
56
56
|
"-o",
|
57
57
|
"--output",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/PULL_REQUEST_TEMPLATE.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/cd.yml
RENAMED
File without changes
|
{bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/ci.yml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/.github/workflows/scan.yml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test-alt.yml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test-min.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/fixtures/test_a.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_name_exists.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-1.0.0 → bitwarden_workflow_linter-1.1.0}/tests/rules/test_step_pinned.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|