bitwarden_workflow_linter 0.4.1__tar.gz → 0.4.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.4.1 → bitwarden_workflow_linter-0.4.3}/.github/workflows/cd.yml +5 -8
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/workflows/scan.yml +2 -2
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/workflows/update_actions.yml +1 -1
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/PKG-INFO +1 -1
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/__about__.py +1 -1
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/default_actions.json +5 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.editorconfig +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.gitattributes +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/CODEOWNERS +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/renovate.json +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/workflows/_version_type.yml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/workflows/ci.yml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/workflows/enforce-labels.yml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.gitignore +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.husky/pre-commit +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.python-version +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/CONTRIBUTING.md +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/LICENSE.txt +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/Pipfile +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/Pipfile.lock +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/README.md +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/SECURITY.md +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/Taskfile.yml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/package-lock.json +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/package.json +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/pylintrc +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/pyproject.toml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/pyproject.toml.tpl +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/settings.yaml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/actions.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/cli.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/default_settings.yaml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/lint.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/load.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/models/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/models/job.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/models/step.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/models/workflow.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/rule.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/rules/job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/rules/name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/rules/name_exists.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/rules/pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/rules/step_approved.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/rules/step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/rules/underscore_outputs.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/src/bitwarden_workflow_linter/utils.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/conftest.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/fixtures/test-alt.yml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/fixtures/test-min-incorrect.yaml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/fixtures/test-min.yaml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/fixtures/test-outputs-incorrect.yml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/fixtures/test.yml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/fixtures/test_a.yaml +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/rules/test_job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/rules/test_name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/rules/test_name_exists.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/rules/test_pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/rules/test_step_approved.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/rules/test_step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/rules/test_underscore_output.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/test_job.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/test_lint.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/test_load.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/test_rule.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/test_step.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/test_utils.py +0 -0
- {bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/test_workflow.py +0 -0
{bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/workflows/cd.yml
RENAMED
@@ -1,23 +1,22 @@
|
|
1
1
|
name: CD
|
2
2
|
|
3
3
|
on:
|
4
|
-
|
4
|
+
pull_request:
|
5
|
+
types:
|
6
|
+
- closed
|
5
7
|
branches:
|
6
|
-
- main
|
7
|
-
paths:
|
8
|
-
- "src/**"
|
8
|
+
- 'main'
|
9
9
|
workflow_dispatch:
|
10
10
|
|
11
11
|
|
12
12
|
jobs:
|
13
13
|
version-type:
|
14
14
|
name: Get version type
|
15
|
-
if: github.
|
15
|
+
if: github.event.pull_request.merged == true
|
16
16
|
uses: ./.github/workflows/_version_type.yml
|
17
17
|
|
18
18
|
version-bump:
|
19
19
|
name: Version bump
|
20
|
-
if: github.actor != 'bitwarden-devops-bot'
|
21
20
|
runs-on: ubuntu-24.04
|
22
21
|
needs: version-type
|
23
22
|
outputs:
|
@@ -94,7 +93,6 @@ jobs:
|
|
94
93
|
|
95
94
|
release:
|
96
95
|
name: GitHub release
|
97
|
-
if: github.actor != 'bitwarden-devops-bot'
|
98
96
|
runs-on: ubuntu-22.04
|
99
97
|
needs: version-bump
|
100
98
|
steps:
|
@@ -112,7 +110,6 @@ jobs:
|
|
112
110
|
|
113
111
|
deploy:
|
114
112
|
name: Deploy workflow-linter (v2)
|
115
|
-
if: github.actor != 'bitwarden-devops-bot'
|
116
113
|
runs-on: ubuntu-22.04
|
117
114
|
needs: version-bump
|
118
115
|
steps:
|
{bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/workflows/scan.yml
RENAMED
@@ -31,7 +31,7 @@ jobs:
|
|
31
31
|
ref: ${{ github.event.pull_request.head.sha }}
|
32
32
|
|
33
33
|
- name: Scan with Checkmarx
|
34
|
-
uses: checkmarx/ast-github-action@
|
34
|
+
uses: checkmarx/ast-github-action@184bf2f64f55d1c93fd6636d539edf274703e434 # 2.0.41
|
35
35
|
env:
|
36
36
|
INCREMENTAL: "${{ contains(github.event_name, 'pull_request') && '--sast-incremental' || '' }}"
|
37
37
|
with:
|
@@ -46,7 +46,7 @@ jobs:
|
|
46
46
|
--output-path . ${{ env.INCREMENTAL }}
|
47
47
|
|
48
48
|
- name: Upload Checkmarx results to GitHub
|
49
|
-
uses: github/codeql-action/upload-sarif@
|
49
|
+
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
|
50
50
|
with:
|
51
51
|
sarif_file: cx_result.sarif
|
52
52
|
|
@@ -76,7 +76,7 @@ jobs:
|
|
76
76
|
|
77
77
|
- name: Generate GH App token
|
78
78
|
if: steps.new-changes.outputs.new_changes == 'TRUE'
|
79
|
-
uses: actions/create-github-app-token@
|
79
|
+
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
|
80
80
|
id: app-token
|
81
81
|
with:
|
82
82
|
app-id: ${{ secrets.GH_APP_ID }}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bitwarden_workflow_linter
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.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
|
@@ -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",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/.github/PULL_REQUEST_TEMPLATE.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.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
|
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.1 → bitwarden_workflow_linter-0.4.3}/tests/fixtures/test-alt.yml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/fixtures/test-min.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/fixtures/test_a.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/tests/rules/test_name_exists.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.1 → bitwarden_workflow_linter-0.4.3}/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
|