bitwarden_workflow_linter 1.2.0__py3-none-any.whl → 1.3.1__py3-none-any.whl
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/__about__.py +1 -1
- bitwarden_workflow_linter/rules/check_pr_target.py +2 -1
- {bitwarden_workflow_linter-1.2.0.dist-info → bitwarden_workflow_linter-1.3.1.dist-info}/METADATA +1 -1
- {bitwarden_workflow_linter-1.2.0.dist-info → bitwarden_workflow_linter-1.3.1.dist-info}/RECORD +7 -7
- {bitwarden_workflow_linter-1.2.0.dist-info → bitwarden_workflow_linter-1.3.1.dist-info}/WHEEL +0 -0
- {bitwarden_workflow_linter-1.2.0.dist-info → bitwarden_workflow_linter-1.3.1.dist-info}/entry_points.txt +0 -0
- {bitwarden_workflow_linter-1.2.0.dist-info → bitwarden_workflow_linter-1.3.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -58,7 +58,8 @@ class RuleCheckPrTarget(Rule):
|
|
58
58
|
result, check_job = self.has_check_run(obj)
|
59
59
|
main_branch_only = self.targets_main_branch(obj)
|
60
60
|
if not main_branch_only:
|
61
|
-
|
61
|
+
default_branch = self.settings.default_branch
|
62
|
+
Errors.append(f"Workflows using pull_request_target can only target the '{default_branch}' branch")
|
62
63
|
if result:
|
63
64
|
missing_jobs = self.check_run_required(obj, check_job)
|
64
65
|
if missing_jobs:
|
{bitwarden_workflow_linter-1.2.0.dist-info → bitwarden_workflow_linter-1.3.1.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bitwarden_workflow_linter
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.3.1
|
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
|
{bitwarden_workflow_linter-1.2.0.dist-info → bitwarden_workflow_linter-1.3.1.dist-info}/RECORD
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
bitwarden_workflow_linter/__about__.py,sha256=
|
1
|
+
bitwarden_workflow_linter/__about__.py,sha256=kDzxkP9spdiBkRWHJBtlh_PbHiNxWwHaLua9_4Z2RI8,59
|
2
2
|
bitwarden_workflow_linter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
bitwarden_workflow_linter/actionlint_version.yaml,sha256=CKhiDwaDBNCExOHTlcpiavfEgf01uG_tTPrgLRaj6_k,28
|
4
4
|
bitwarden_workflow_linter/actions.py,sha256=LAn3yQeMMmCOvJWeTn3dE1U2nyEJqIBMwESq3TtY9hE,9069
|
@@ -14,7 +14,7 @@ bitwarden_workflow_linter/models/job.py,sha256=oqFq8A4JGQplBlaDjUUFV9kWT5rh9A0V6
|
|
14
14
|
bitwarden_workflow_linter/models/step.py,sha256=j81iWYWcNI9x55n1MOR0N6ogKaQ_4-CKu9LnI_fwEOE,1814
|
15
15
|
bitwarden_workflow_linter/models/workflow.py,sha256=lIgGI2cDwC2lTOM-k3fqKgceLdSJ6vhTLCAhaeoD-fc,1645
|
16
16
|
bitwarden_workflow_linter/rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
|
-
bitwarden_workflow_linter/rules/check_pr_target.py,sha256=
|
17
|
+
bitwarden_workflow_linter/rules/check_pr_target.py,sha256=HXvOvDZeZ7OPtIs_pqcXlxffUWqEsCmvtuz9_APxXf8,3507
|
18
18
|
bitwarden_workflow_linter/rules/job_environment_prefix.py,sha256=bdE8l4B5DQiCFVmblXTs4ptsHPGvjhJrR5ONo2kRY2U,2757
|
19
19
|
bitwarden_workflow_linter/rules/name_capitalized.py,sha256=lGHPi_Ix0DVSzGEdrUm2vAEQD4qQ8dxU1hddsCdqA2w,2126
|
20
20
|
bitwarden_workflow_linter/rules/name_exists.py,sha256=kdMIURN3u8qdDvw6YKxg7VF5bkzGxVVXAO3KAqY1-54,1826
|
@@ -24,8 +24,8 @@ bitwarden_workflow_linter/rules/run_actionlint.py,sha256=m6SaejtkUz704exAiq_ti0d
|
|
24
24
|
bitwarden_workflow_linter/rules/step_approved.py,sha256=4pUCrOlWomo43bwGBunORphv1RJzc3spRKgZ4VLtDS0,3304
|
25
25
|
bitwarden_workflow_linter/rules/step_pinned.py,sha256=MagV8LNdgRKyncmSdH9V-TlIcsdjzoDHDWqovzWon9E,3559
|
26
26
|
bitwarden_workflow_linter/rules/underscore_outputs.py,sha256=LoCsDN_EfQ8H9n5BfZ5xCe7BeHqJGPMcV0vo1c9YJcw,4275
|
27
|
-
bitwarden_workflow_linter-1.
|
28
|
-
bitwarden_workflow_linter-1.
|
29
|
-
bitwarden_workflow_linter-1.
|
30
|
-
bitwarden_workflow_linter-1.
|
31
|
-
bitwarden_workflow_linter-1.
|
27
|
+
bitwarden_workflow_linter-1.3.1.dist-info/METADATA,sha256=xb0yJtHHCh2rNhfj_fVDAF0O2K7NT6e8aDlVWrqO7tk,10227
|
28
|
+
bitwarden_workflow_linter-1.3.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
29
|
+
bitwarden_workflow_linter-1.3.1.dist-info/entry_points.txt,sha256=SA_yF9CwL4VMUvdcmCd7k9rjsQNzfeOUBuDnMnaO8QQ,60
|
30
|
+
bitwarden_workflow_linter-1.3.1.dist-info/licenses/LICENSE.txt,sha256=uY-7N9tbI7xc_c0WeTIGpacSCnsB91N05eCIg3bkaRw,35140
|
31
|
+
bitwarden_workflow_linter-1.3.1.dist-info/RECORD,,
|
{bitwarden_workflow_linter-1.2.0.dist-info → bitwarden_workflow_linter-1.3.1.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|