bitwarden_workflow_linter 0.15.0__tar.gz → 0.15.3__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-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/cd.yml +9 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/PKG-INFO +9 -2
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/README.md +8 -1
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/settings.yaml +1 -1
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/__about__.py +1 -1
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/default_settings.yaml +1 -1
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.editorconfig +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.gitattributes +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/CODEOWNERS +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/renovate.json +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/_version_type.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/actionlint_windows.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/bwwl_operations.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/ci.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/enforce-labels.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/examples/ci.yaml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/examples/example-references/_build.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/examples/example-references/_docker.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/examples/example-references/_test.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/examples/example-references/_version.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/examples/example.yaml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/examples/pull_request_target.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/examples/scan.yaml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/scan.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.gitignore +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.husky/pre-commit +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.python-version +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/CONTRIBUTING.md +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/LICENSE.txt +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/Pipfile +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/Pipfile.lock +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/RULE_ROLLOUT.md +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/SECURITY.md +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/Taskfile.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/actionlint_version.json +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/package-lock.json +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/package.json +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/pylintrc +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/pyproject.toml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/pyproject.toml.tpl +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/__init__.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/actionlint_version.yaml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/actions.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/cli.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/default_actions.json +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/lint.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/load.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/models/__init__.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/models/job.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/models/step.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/models/workflow.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rule.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/check_pr_target.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/name_exists.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/permissions_exist.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/run_actionlint.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/step_approved.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/rules/underscore_outputs.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/src/bitwarden_workflow_linter/utils.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/__init__.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/conftest.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test-alt.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test-min-incorrect.yaml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test-min.yaml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test-outputs-incorrect.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test.yml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test_a.yaml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test_workflow.yaml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test_workflow_incorrect.yaml +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/test_check_pr_target.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/test_job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/test_name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/test_name_exists.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/test_permissions_exist.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/test_pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/test_run_actionlint.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/test_step_approved.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/test_step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/test_underscore_output.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/test_job.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/test_lint.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/test_load.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/test_rule.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/test_step.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/test_utils.py +0 -0
- {bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/test_workflow.py +0 -0
{bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/.github/workflows/cd.yml
RENAMED
@@ -22,6 +22,7 @@ jobs:
|
|
22
22
|
needs: version-type
|
23
23
|
outputs:
|
24
24
|
version: ${{ steps.get-version.outputs.version }}
|
25
|
+
commit_hash: ${{ steps.version-commit.outputs.commit_hash }}
|
25
26
|
steps:
|
26
27
|
- name: Generate GH App token
|
27
28
|
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
|
@@ -91,6 +92,11 @@ jobs:
|
|
91
92
|
git tag v$VERSION
|
92
93
|
git push
|
93
94
|
git push --tags
|
95
|
+
|
96
|
+
- name: Output version bump commit hash
|
97
|
+
id: version-commit
|
98
|
+
run: |
|
99
|
+
echo "commit_hash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
|
94
100
|
|
95
101
|
release:
|
96
102
|
name: GitHub release
|
@@ -116,6 +122,9 @@ jobs:
|
|
116
122
|
steps:
|
117
123
|
- name: Check out repo
|
118
124
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
125
|
+
with:
|
126
|
+
fetch-depth: 0
|
127
|
+
ref: ${{ needs.version-bump.outputs.commit_hash }}
|
119
128
|
|
120
129
|
- name: Set up Python
|
121
130
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bitwarden_workflow_linter
|
3
|
-
Version: 0.15.
|
3
|
+
Version: 0.15.3
|
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
|
@@ -118,7 +118,7 @@ This method is useful for developers who want to contribute to the project or ne
|
|
118
118
|
|
119
119
|
### Setup settings.yaml
|
120
120
|
|
121
|
-
If a non-default configuration is desired (different than `src/bitwarden_workflow_linter/default_settings.yaml`), copy the below and create a `settings.yaml` in the directory that `bwwl` will be running from.
|
121
|
+
If a non-default configuration is desired (different than `src/bitwarden_workflow_linter/default_settings.yaml`), copy the below and create a `settings.yaml` in the directory that `bwwl` will be running from ( generally will be the root directory in CI).
|
122
122
|
|
123
123
|
```yaml
|
124
124
|
enabled_rules:
|
@@ -130,14 +130,21 @@ enabled_rules:
|
|
130
130
|
level: error
|
131
131
|
- id: bitwarden_workflow_linter.rules.job_environment_prefix.RuleJobEnvironmentPrefix
|
132
132
|
level: error
|
133
|
+
- id: bitwarden_workflow_linter.rules.step_approved.RuleStepUsesApproved
|
134
|
+
level: error
|
133
135
|
- id: bitwarden_workflow_linter.rules.step_pinned.RuleStepUsesPinned
|
134
136
|
level: error
|
135
137
|
- id: bitwarden_workflow_linter.rules.underscore_outputs.RuleUnderscoreOutputs
|
136
138
|
level: warning
|
137
139
|
- id: bitwarden_workflow_linter.rules.run_actionlint.RunActionlint
|
138
140
|
level: warning
|
141
|
+
- id: bitwarden_workflow_linter.rules.check_pr_target.RuleCheckPrTarget
|
142
|
+
level: error
|
143
|
+
- id: bitwarden_workflow_linter.rules.permissions_exist.RulePermissionsExist
|
144
|
+
level: warning
|
139
145
|
|
140
146
|
approved_actions_path: default_actions.json
|
147
|
+
default_branch: main
|
141
148
|
```
|
142
149
|
|
143
150
|
### Command Line Usage
|
@@ -92,7 +92,7 @@ This method is useful for developers who want to contribute to the project or ne
|
|
92
92
|
|
93
93
|
### Setup settings.yaml
|
94
94
|
|
95
|
-
If a non-default configuration is desired (different than `src/bitwarden_workflow_linter/default_settings.yaml`), copy the below and create a `settings.yaml` in the directory that `bwwl` will be running from.
|
95
|
+
If a non-default configuration is desired (different than `src/bitwarden_workflow_linter/default_settings.yaml`), copy the below and create a `settings.yaml` in the directory that `bwwl` will be running from ( generally will be the root directory in CI).
|
96
96
|
|
97
97
|
```yaml
|
98
98
|
enabled_rules:
|
@@ -104,14 +104,21 @@ enabled_rules:
|
|
104
104
|
level: error
|
105
105
|
- id: bitwarden_workflow_linter.rules.job_environment_prefix.RuleJobEnvironmentPrefix
|
106
106
|
level: error
|
107
|
+
- id: bitwarden_workflow_linter.rules.step_approved.RuleStepUsesApproved
|
108
|
+
level: error
|
107
109
|
- id: bitwarden_workflow_linter.rules.step_pinned.RuleStepUsesPinned
|
108
110
|
level: error
|
109
111
|
- id: bitwarden_workflow_linter.rules.underscore_outputs.RuleUnderscoreOutputs
|
110
112
|
level: warning
|
111
113
|
- id: bitwarden_workflow_linter.rules.run_actionlint.RunActionlint
|
112
114
|
level: warning
|
115
|
+
- id: bitwarden_workflow_linter.rules.check_pr_target.RuleCheckPrTarget
|
116
|
+
level: error
|
117
|
+
- id: bitwarden_workflow_linter.rules.permissions_exist.RulePermissionsExist
|
118
|
+
level: warning
|
113
119
|
|
114
120
|
approved_actions_path: default_actions.json
|
121
|
+
default_branch: main
|
115
122
|
```
|
116
123
|
|
117
124
|
### Command Line Usage
|
@@ -16,7 +16,7 @@ enabled_rules:
|
|
16
16
|
- id: bitwarden_workflow_linter.rules.run_actionlint.RunActionlint
|
17
17
|
level: warning
|
18
18
|
- id: bitwarden_workflow_linter.rules.check_pr_target.RuleCheckPrTarget
|
19
|
-
level:
|
19
|
+
level: error
|
20
20
|
- id: bitwarden_workflow_linter.rules.permissions_exist.RulePermissionsExist
|
21
21
|
level: warning
|
22
22
|
|
@@ -16,7 +16,7 @@ enabled_rules:
|
|
16
16
|
- id: bitwarden_workflow_linter.rules.run_actionlint.RunActionlint
|
17
17
|
level: warning
|
18
18
|
- id: bitwarden_workflow_linter.rules.check_pr_target.RuleCheckPrTarget
|
19
|
-
level:
|
19
|
+
level: error
|
20
20
|
- id: bitwarden_workflow_linter.rules.permissions_exist.RulePermissionsExist
|
21
21
|
level: warning
|
22
22
|
|
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-0.15.0 → bitwarden_workflow_linter-0.15.3}/.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-0.15.0 → bitwarden_workflow_linter-0.15.3}/.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
|
{bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/actionlint_version.json
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
|
{bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test-alt.yml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test-min.yaml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test.yml
RENAMED
File without changes
|
{bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/fixtures/test_a.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/rules/__init__.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
|
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-0.15.0 → bitwarden_workflow_linter-0.15.3}/tests/test_workflow.py
RENAMED
File without changes
|