bitwarden_workflow_linter 0.2.1__tar.gz → 0.3.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-0.2.1 → bitwarden_workflow_linter-0.3.0}/PKG-INFO +1 -1
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/Taskfile.yml +1 -1
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/settings.yaml +1 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/__about__.py +1 -1
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/default_actions.json +5 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/default_settings.yaml +1 -1
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/rules/step_approved.py +1 -1
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/fixtures/test.yml +8 -4
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.editorconfig +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.gitattributes +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/CODEOWNERS +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/renovate.json +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/workflows/_version_type.yml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/workflows/cd.yml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/workflows/ci.yml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/workflows/enforce-labels.yml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/workflows/scan.yml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.gitignore +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.husky/pre-commit +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.python-version +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/CONTRIBUTING.md +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/LICENSE.txt +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/Pipfile +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/Pipfile.lock +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/README.md +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/SECURITY.md +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/package-lock.json +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/package.json +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/pylintrc +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/pyproject.toml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/pyproject.toml.tpl +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/__init__.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/actions.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/cli.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/lint.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/load.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/models/__init__.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/models/job.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/models/step.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/models/workflow.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/rule.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/rules/job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/rules/name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/rules/name_exists.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/rules/pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/rules/step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/rules/underscore_outputs.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/src/bitwarden_workflow_linter/utils.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/__init__.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/conftest.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/fixtures/test-alt.yml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/fixtures/test-min-incorrect.yaml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/fixtures/test-min.yaml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/fixtures/test-outputs-incorrect.yml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/fixtures/test_a.yaml +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/rules/__init__.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/rules/test_job_environment_prefix.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/rules/test_name_capitalized.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/rules/test_name_exists.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/rules/test_pinned_job_runner.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/rules/test_step_approved.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/rules/test_step_pinned.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/rules/test_underscore_output.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/test_job.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/test_lint.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/test_load.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/test_rule.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/test_step.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/test_utils.py +0 -0
- {bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/test_workflow.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: bitwarden_workflow_linter
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.3.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
|
@@ -3,6 +3,7 @@ enabled_rules:
|
|
3
3
|
- bitwarden_workflow_linter.rules.name_capitalized.RuleNameCapitalized
|
4
4
|
- bitwarden_workflow_linter.rules.pinned_job_runner.RuleJobRunnerVersionPinned
|
5
5
|
- bitwarden_workflow_linter.rules.job_environment_prefix.RuleJobEnvironmentPrefix
|
6
|
+
- bitwarden_workflow_linter.rules.step_approved.RuleStepUsesApproved
|
6
7
|
- bitwarden_workflow_linter.rules.step_pinned.RuleStepUsesPinned
|
7
8
|
- bitwarden_workflow_linter.rules.underscore_outputs.RuleUnderscoreOutputs
|
8
9
|
|
@@ -209,6 +209,11 @@
|
|
209
209
|
"sha": "445c42390d790569d938f9068d01af39ca030feb",
|
210
210
|
"version": "v1.0.0"
|
211
211
|
},
|
212
|
+
"maxim-lobanov/setup-xcode" : {
|
213
|
+
"name": "maxim-lobanov/setup-xcode",
|
214
|
+
"sha": "60606e260d2fc5762a71e64e74b2174e8ea3c8bd",
|
215
|
+
"version": "v1.6.0"
|
216
|
+
},
|
212
217
|
"microsoft/setup-msbuild": {
|
213
218
|
"name": "microsoft/setup-msbuild",
|
214
219
|
"sha": "1ff57057b5cfdc39105cd07a01d78e9b0ea0c14c",
|
@@ -3,7 +3,7 @@ enabled_rules:
|
|
3
3
|
- bitwarden_workflow_linter.rules.name_capitalized.RuleNameCapitalized
|
4
4
|
- bitwarden_workflow_linter.rules.pinned_job_runner.RuleJobRunnerVersionPinned
|
5
5
|
- bitwarden_workflow_linter.rules.job_environment_prefix.RuleJobEnvironmentPrefix
|
6
|
-
- bitwarden_workflow_linter.rules.
|
6
|
+
- bitwarden_workflow_linter.rules.step_approved.RuleStepUsesApproved
|
7
7
|
- bitwarden_workflow_linter.rules.step_pinned.RuleStepUsesPinned
|
8
8
|
- bitwarden_workflow_linter.rules.underscore_outputs.RuleUnderscoreOutputs
|
9
9
|
|
@@ -82,7 +82,7 @@ class RuleStepUsesApproved(Rule):
|
|
82
82
|
if self.skip(obj):
|
83
83
|
return True, ""
|
84
84
|
|
85
|
-
# Actions in bitwarden/
|
85
|
+
# Actions in bitwarden/ are auto-approved
|
86
86
|
if obj.uses and not obj.uses_path in self.settings.approved_actions:
|
87
87
|
return False, (
|
88
88
|
f"New Action detected: {obj.uses_path}\nFor security purposes, "
|
@@ -15,11 +15,10 @@ jobs:
|
|
15
15
|
_CROWDIN_PROJECT_ID: "308189"
|
16
16
|
steps:
|
17
17
|
- name: Checkout repo
|
18
|
-
uses: actions/checkout@
|
19
|
-
|
18
|
+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
20
19
|
|
21
20
|
- name: Log in to Azure - CI subscription
|
22
|
-
uses: Azure/login@
|
21
|
+
uses: Azure/login@de95379fe4dadc2defb305917eaa7e5dde727294 # v1.5.1
|
23
22
|
with:
|
24
23
|
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
|
25
24
|
|
@@ -30,7 +29,7 @@ jobs:
|
|
30
29
|
keyvault: "bitwarden-ci"
|
31
30
|
secrets: "crowdin-api-token"
|
32
31
|
|
33
|
-
- uses: crowdin/github-action@
|
32
|
+
- uses: crowdin/github-action@fdc55cdc519e86e32c22a07528d649277f1127f2 # v1.16.0
|
34
33
|
env:
|
35
34
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
36
35
|
CROWDIN_API_TOKEN: ${{ steps.retrieve-secrets.outputs.crowdin-api-token }}
|
@@ -47,3 +46,8 @@ jobs:
|
|
47
46
|
create_pull_request: true
|
48
47
|
pull_request_title: "Autosync Crowdin Translations"
|
49
48
|
pull_request_body: "Autosync the updated translations"
|
49
|
+
|
50
|
+
- name: Set Xcode version
|
51
|
+
uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
|
52
|
+
with:
|
53
|
+
xcode-version: ${{ env._XCODE_VERSION || env.DEFAULT_XCODE_VERSION }}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/PULL_REQUEST_TEMPLATE.md
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/workflows/cd.yml
RENAMED
File without changes
|
{bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/.github/workflows/ci.yml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.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
|
{bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/fixtures/test-alt.yml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/fixtures/test-min.yaml
RENAMED
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/fixtures/test_a.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.0}/tests/rules/test_name_exists.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{bitwarden_workflow_linter-0.2.1 → bitwarden_workflow_linter-0.3.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
|