bitwarden_workflow_linter 0.4.2__tar.gz → 0.4.4__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.2 → bitwarden_workflow_linter-0.4.4}/.github/workflows/cd.yml +6 -8
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/workflows/enforce-labels.yml +1 -1
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/workflows/scan.yml +2 -2
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/workflows/update_actions.yml +1 -1
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/PKG-INFO +1 -1
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/__about__.py +1 -1
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.editorconfig +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.gitattributes +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/CODEOWNERS +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/renovate.json +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/workflows/_version_type.yml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/workflows/ci.yml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.gitignore +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.husky/pre-commit +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.python-version +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/CONTRIBUTING.md +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/LICENSE.txt +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/Pipfile +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/Pipfile.lock +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/README.md +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/SECURITY.md +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/Taskfile.yml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/package-lock.json +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/package.json +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/pylintrc +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/pyproject.toml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/pyproject.toml.tpl +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/settings.yaml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/actions.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/cli.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/default_actions.json +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/default_settings.yaml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/lint.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/load.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/models/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/models/job.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/models/step.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/models/workflow.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/rule.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/rules/job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/rules/name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/rules/name_exists.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/rules/pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/rules/step_approved.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/rules/step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/rules/underscore_outputs.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/src/bitwarden_workflow_linter/utils.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/conftest.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/fixtures/test-alt.yml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/fixtures/test-min-incorrect.yaml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/fixtures/test-min.yaml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/fixtures/test-outputs-incorrect.yml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/fixtures/test.yml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/fixtures/test_a.yaml +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/rules/test_job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/rules/test_name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/rules/test_name_exists.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/rules/test_pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/rules/test_step_approved.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/rules/test_step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/rules/test_underscore_output.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/test_job.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/test_lint.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/test_load.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/test_rule.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/test_step.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/test_utils.py +0 -0
- {bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/test_workflow.py +0 -0
{bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/workflows/cd.yml
RENAMED
@@ -1,23 +1,23 @@
|
|
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:
|
20
|
+
if: needs.version-type.outputs.version_bump_type != 'skip'
|
21
21
|
runs-on: ubuntu-24.04
|
22
22
|
needs: version-type
|
23
23
|
outputs:
|
@@ -94,7 +94,6 @@ jobs:
|
|
94
94
|
|
95
95
|
release:
|
96
96
|
name: GitHub release
|
97
|
-
if: github.actor != 'bitwarden-devops-bot'
|
98
97
|
runs-on: ubuntu-22.04
|
99
98
|
needs: version-bump
|
100
99
|
steps:
|
@@ -112,7 +111,6 @@ jobs:
|
|
112
111
|
|
113
112
|
deploy:
|
114
113
|
name: Deploy workflow-linter (v2)
|
115
|
-
if: github.actor != 'bitwarden-devops-bot'
|
116
114
|
runs-on: ubuntu-22.04
|
117
115
|
needs: version-bump
|
118
116
|
steps:
|
@@ -9,7 +9,7 @@ jobs:
|
|
9
9
|
uses: bitwarden/gh-actions/.github/workflows/_enforce-labels.yml@main
|
10
10
|
|
11
11
|
enforce-version-label:
|
12
|
-
if: "!(contains(github.event.pull_request.labels.*.name, 'version:major') || contains(github.event.pull_request.labels.*.name, 'version:minor') || contains(github.event.pull_request.labels.*.name, 'version:patch'))"
|
12
|
+
if: "!(contains(github.event.pull_request.labels.*.name, 'version:major') || contains(github.event.pull_request.labels.*.name, 'version:minor') || contains(github.event.pull_request.labels.*.name, 'version:patch')) || contains(github.event.pull_request.labels.*.name, 'version:skip')"
|
13
13
|
name: Enforce version label
|
14
14
|
runs-on: ubuntu-22.04
|
15
15
|
|
{bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.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.4
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.github/PULL_REQUEST_TEMPLATE.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/.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.2 → bitwarden_workflow_linter-0.4.4}/tests/fixtures/test-alt.yml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/fixtures/test-min.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/fixtures/test_a.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/tests/rules/test_name_exists.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.4.2 → bitwarden_workflow_linter-0.4.4}/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
|