bitwarden_workflow_linter 0.15.1__tar.gz → 1.0.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/.github/actionlint.yml +15 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/bwwl_operations.yml +2 -2
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/cd.yml +9 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/PKG-INFO +1 -1
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/settings.yaml +1 -1
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/__about__.py +1 -1
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/default_settings.yaml +1 -1
- bitwarden_workflow_linter-0.15.1/actionlint_version.json +0 -4
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.editorconfig +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.gitattributes +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/CODEOWNERS +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/renovate.json +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/_version_type.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/actionlint_windows.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/ci.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/enforce-labels.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/examples/ci.yaml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/examples/example-references/_build.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/examples/example-references/_docker.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/examples/example-references/_test.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/examples/example-references/_version.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/examples/example.yaml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/examples/pull_request_target.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/examples/scan.yaml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.github/workflows/scan.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.gitignore +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.husky/pre-commit +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.python-version +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/CONTRIBUTING.md +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/LICENSE.txt +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/Pipfile +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/Pipfile.lock +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/README.md +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/RULE_ROLLOUT.md +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/SECURITY.md +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/Taskfile.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/package-lock.json +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/package.json +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/pylintrc +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/pyproject.toml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/pyproject.toml.tpl +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/__init__.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/actionlint_version.yaml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/actions.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/cli.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/default_actions.json +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/lint.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/load.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/models/__init__.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/models/job.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/models/step.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/models/workflow.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rule.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/check_pr_target.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/name_exists.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/permissions_exist.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/run_actionlint.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/step_approved.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/rules/underscore_outputs.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/src/bitwarden_workflow_linter/utils.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/__init__.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/conftest.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test-alt.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test-min-incorrect.yaml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test-min.yaml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test-outputs-incorrect.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test.yml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test_a.yaml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test_workflow.yaml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test_workflow_incorrect.yaml +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/test_check_pr_target.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/test_job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/test_name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/test_name_exists.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/test_permissions_exist.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/test_pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/test_run_actionlint.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/test_step_approved.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/test_step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/test_underscore_output.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/test_job.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/test_lint.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/test_load.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/test_rule.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/test_step.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/test_utils.py +0 -0
- {bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/test_workflow.py +0 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
# Configuration related to self-hosted runner.
|
2
|
+
self-hosted-runner:
|
3
|
+
# Labels of self-hosted runner in array of strings.
|
4
|
+
labels:
|
5
|
+
- terraform-provider-bitwarden-sm-linux
|
6
|
+
|
7
|
+
# Path-specific configurations.
|
8
|
+
paths:
|
9
|
+
# Glob pattern relative to the repository root for matching files. The path separator is always '/'.
|
10
|
+
# This example configures any YAML file under the '.github/workflows/' directory.
|
11
|
+
.github/workflows/**/*.{yml,yaml}:
|
12
|
+
# List of regular expressions to filter errors by the error messages.
|
13
|
+
ignore:
|
14
|
+
# Ignore the specific error from shellcheck
|
15
|
+
- 'shellcheck reported issue in this script: .+'
|
@@ -63,7 +63,7 @@ jobs:
|
|
63
63
|
run: python -m pip install --upgrade bitwarden_workflow_linter
|
64
64
|
|
65
65
|
- name: Create Branch
|
66
|
-
if: ${{ github.
|
66
|
+
if: ${{ github.event_name == 'schedule' || inputs.operation == 'update' }}
|
67
67
|
run: |
|
68
68
|
NAME="update-actions-$(date +'%Y%m%d-%H%M%S')"
|
69
69
|
git switch -c $NAME
|
@@ -77,7 +77,7 @@ jobs:
|
|
77
77
|
echo "BRANCH_NAME=$NAME" >> $GITHUB_ENV
|
78
78
|
|
79
79
|
- name: Run bwwl update
|
80
|
-
if: ${{ github.
|
80
|
+
if: ${{ github.event_name == 'schedule' || inputs.operation == 'update' }}
|
81
81
|
run: bwwl actions update -o src/bitwarden_workflow_linter/default_actions.json
|
82
82
|
|
83
83
|
- name: Run bwwl add
|
{bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/.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.
|
3
|
+
Version: 1.0.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
|
@@ -14,7 +14,7 @@ enabled_rules:
|
|
14
14
|
- id: bitwarden_workflow_linter.rules.underscore_outputs.RuleUnderscoreOutputs
|
15
15
|
level: warning
|
16
16
|
- id: bitwarden_workflow_linter.rules.run_actionlint.RunActionlint
|
17
|
-
level:
|
17
|
+
level: error
|
18
18
|
- id: bitwarden_workflow_linter.rules.check_pr_target.RuleCheckPrTarget
|
19
19
|
level: error
|
20
20
|
- id: bitwarden_workflow_linter.rules.permissions_exist.RulePermissionsExist
|
@@ -14,7 +14,7 @@ enabled_rules:
|
|
14
14
|
- id: bitwarden_workflow_linter.rules.underscore_outputs.RuleUnderscoreOutputs
|
15
15
|
level: warning
|
16
16
|
- id: bitwarden_workflow_linter.rules.run_actionlint.RunActionlint
|
17
|
-
level:
|
17
|
+
level: error
|
18
18
|
- id: bitwarden_workflow_linter.rules.check_pr_target.RuleCheckPrTarget
|
19
19
|
level: error
|
20
20
|
- id: bitwarden_workflow_linter.rules.permissions_exist.RulePermissionsExist
|
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.1 → bitwarden_workflow_linter-1.0.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-0.15.1 → bitwarden_workflow_linter-1.0.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-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test-alt.yml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test-min.yaml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test.yml
RENAMED
File without changes
|
{bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/fixtures/test_a.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.0}/tests/rules/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.15.1 → bitwarden_workflow_linter-1.0.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-0.15.1 → bitwarden_workflow_linter-1.0.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
|