bitwarden_workflow_linter 0.4.0__tar.gz → 0.4.2__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.4.0 → bitwarden_workflow_linter-0.4.2}/.github/workflows/cd.yml +10 -4
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/workflows/enforce-labels.yml +1 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/PKG-INFO +2 -2
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/README.md +1 -1
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/__about__.py +1 -1
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/default_actions.json +10 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.editorconfig +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.gitattributes +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/CODEOWNERS +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/renovate.json +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/workflows/_version_type.yml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/workflows/ci.yml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/workflows/scan.yml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/workflows/update_actions.yml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.gitignore +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.husky/pre-commit +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.python-version +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/CONTRIBUTING.md +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/LICENSE.txt +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/Pipfile +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/Pipfile.lock +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/SECURITY.md +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/Taskfile.yml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/package-lock.json +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/package.json +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/pylintrc +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/pyproject.toml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/pyproject.toml.tpl +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/settings.yaml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/actions.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/cli.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/default_settings.yaml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/lint.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/load.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/models/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/models/job.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/models/step.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/models/workflow.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/rule.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/rules/job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/rules/name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/rules/name_exists.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/rules/pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/rules/step_approved.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/rules/step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/rules/underscore_outputs.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/src/bitwarden_workflow_linter/utils.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/conftest.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/fixtures/test-alt.yml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/fixtures/test-min-incorrect.yaml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/fixtures/test-min.yaml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/fixtures/test-outputs-incorrect.yml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/fixtures/test.yml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/fixtures/test_a.yaml +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/rules/test_job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/rules/test_name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/rules/test_name_exists.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/rules/test_pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/rules/test_step_approved.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/rules/test_step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/rules/test_underscore_output.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/test_job.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/test_lint.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/test_load.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/test_rule.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/test_step.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/test_utils.py +0 -0
- {bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/test_workflow.py +0 -0
{bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/workflows/cd.yml
RENAMED
@@ -18,11 +18,18 @@ jobs:
|
|
18
18
|
version-bump:
|
19
19
|
name: Version bump
|
20
20
|
if: github.actor != 'bitwarden-devops-bot'
|
21
|
-
runs-on: ubuntu-
|
21
|
+
runs-on: ubuntu-24.04
|
22
22
|
needs: version-type
|
23
23
|
outputs:
|
24
24
|
version: ${{ steps.get-version.outputs.version }}
|
25
25
|
steps:
|
26
|
+
- name: Generate GH App token
|
27
|
+
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
|
28
|
+
id: app-token
|
29
|
+
with:
|
30
|
+
app-id: ${{ secrets.BW_GHAPP_ID }}
|
31
|
+
private-key: ${{ secrets.BW_GHAPP_KEY }}
|
32
|
+
|
26
33
|
- name: Login to Azure - CI Subscription
|
27
34
|
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0
|
28
35
|
with:
|
@@ -34,14 +41,13 @@ jobs:
|
|
34
41
|
with:
|
35
42
|
keyvault: "bitwarden-ci"
|
36
43
|
secrets: "github-gpg-private-key,
|
37
|
-
github-gpg-private-key-passphrase
|
38
|
-
github-pat-bitwarden-devops-bot-repo-scope"
|
44
|
+
github-gpg-private-key-passphrase"
|
39
45
|
|
40
46
|
- name: Check out repo
|
41
47
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
42
48
|
with:
|
43
49
|
fetch-depth: 0
|
44
|
-
token: ${{ steps.
|
50
|
+
token: ${{ steps.app-token.outputs.token }}
|
45
51
|
|
46
52
|
- name: Set up Python
|
47
53
|
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bitwarden_workflow_linter
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.2
|
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
|
@@ -181,6 +181,6 @@ two empty lines between each job)
|
|
181
181
|
To activate a rule after implementing it, add it to `settings.yaml` in the project's base folder
|
182
182
|
and `src/bitwarden_workflow_linter/default_settings.yaml` to make the rule default
|
183
183
|
|
184
|
-
###
|
184
|
+
### To-Do
|
185
185
|
|
186
186
|
- [ ] Add Rule to assert correct format for single line run
|
@@ -155,6 +155,6 @@ two empty lines between each job)
|
|
155
155
|
To activate a rule after implementing it, add it to `settings.yaml` in the project's base folder
|
156
156
|
and `src/bitwarden_workflow_linter/default_settings.yaml` to make the rule default
|
157
157
|
|
158
|
-
###
|
158
|
+
### To-Do
|
159
159
|
|
160
160
|
- [ ] Add Rule to assert correct format for single line run
|
@@ -94,6 +94,11 @@
|
|
94
94
|
"sha": "3e891b0cb619bf60e2c25674b222b8940e2c1c25",
|
95
95
|
"version": "v4.1.0"
|
96
96
|
},
|
97
|
+
"actions/setup-go": {
|
98
|
+
"name": "actions/setup-go",
|
99
|
+
"sha": "41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed",
|
100
|
+
"version": "v5.1.0"
|
101
|
+
},
|
97
102
|
"actions/setup-java": {
|
98
103
|
"name": "actions/setup-java",
|
99
104
|
"sha": "8df1039502a15bceb9433410b1a100fbe190c53b",
|
@@ -299,6 +304,11 @@
|
|
299
304
|
"sha": "2c591bcc8ecdcd2db72b97d6147f871fcd833ba5",
|
300
305
|
"version": "v1.14.0"
|
301
306
|
},
|
307
|
+
"nuget/setup-nuget": {
|
308
|
+
"name": "nuget/setup-nuget",
|
309
|
+
"sha": "a21f25cd3998bf370fde17e3f1b4c12c175172f9",
|
310
|
+
"version": "v2.0.0"
|
311
|
+
},
|
302
312
|
"peter-evans/close-issue": {
|
303
313
|
"name": "peter-evans/close-issue",
|
304
314
|
"sha": "276d7966e389d888f011539a86c8920025ea0626",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/PULL_REQUEST_TEMPLATE.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.github/workflows/ci.yml
RENAMED
File without changes
|
{bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/.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
|
{bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/fixtures/test-alt.yml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/fixtures/test-min.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/fixtures/test_a.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/tests/rules/test_name_exists.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.0 → bitwarden_workflow_linter-0.4.2}/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
|