bitwarden_workflow_linter 0.4.4__py3-none-any.whl → 0.4.6__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/default_actions.json +5 -0
- bitwarden_workflow_linter/models/step.py +6 -3
- {bitwarden_workflow_linter-0.4.4.dist-info → bitwarden_workflow_linter-0.4.6.dist-info}/METADATA +1 -1
- {bitwarden_workflow_linter-0.4.4.dist-info → bitwarden_workflow_linter-0.4.6.dist-info}/RECORD +8 -8
- {bitwarden_workflow_linter-0.4.4.dist-info → bitwarden_workflow_linter-0.4.6.dist-info}/WHEEL +0 -0
- {bitwarden_workflow_linter-0.4.4.dist-info → bitwarden_workflow_linter-0.4.6.dist-info}/entry_points.txt +0 -0
- {bitwarden_workflow_linter-0.4.4.dist-info → bitwarden_workflow_linter-0.4.6.dist-info}/licenses/LICENSE.txt +0 -0
@@ -374,6 +374,11 @@
|
|
374
374
|
"sha": "64c70c67f5ebc54d4c7ea09cbe3553322778afd5",
|
375
375
|
"version": "1.1.2"
|
376
376
|
},
|
377
|
+
"withastro/action": {
|
378
|
+
"name": "withastro/action",
|
379
|
+
"sha": "44cbafd43567733e3b007918c6e0711480560516",
|
380
|
+
"version": "v3.0.0"
|
381
|
+
},
|
377
382
|
"yogevbd/enforce-label-action": {
|
378
383
|
"name": "yogevbd/enforce-label-action",
|
379
384
|
"sha": "a3c219da6b8fa73f6ba62b68ff09c469b3a1c024",
|
@@ -39,10 +39,13 @@ class Step:
|
|
39
39
|
new_step.key = idx
|
40
40
|
new_step.job = job
|
41
41
|
|
42
|
-
if
|
43
|
-
|
42
|
+
if new_step.uses:
|
43
|
+
if "uses" in data.ca.items and data.ca.items["uses"][2]:
|
44
|
+
new_step.uses_comment = data.ca.items["uses"][2].value.replace("\n", "")
|
45
|
+
new_step.uses_version = new_step.uses_comment.split(" ")[-1]
|
44
46
|
if "@" in new_step.uses:
|
45
47
|
new_step.uses_path, new_step.uses_ref = new_step.uses.split("@")
|
46
|
-
|
48
|
+
else:
|
49
|
+
new_step.uses_path = new_step.uses
|
47
50
|
|
48
51
|
return new_step
|
{bitwarden_workflow_linter-0.4.4.dist-info → bitwarden_workflow_linter-0.4.6.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: bitwarden_workflow_linter
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.6
|
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-0.4.4.dist-info → bitwarden_workflow_linter-0.4.6.dist-info}/RECORD
RENAMED
@@ -1,8 +1,8 @@
|
|
1
|
-
bitwarden_workflow_linter/__about__.py,sha256=
|
1
|
+
bitwarden_workflow_linter/__about__.py,sha256=BUP3uYgmxDtpHKM-iXpP6XKxkDO878eATLQUvfqlFJc,59
|
2
2
|
bitwarden_workflow_linter/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
bitwarden_workflow_linter/actions.py,sha256=LAn3yQeMMmCOvJWeTn3dE1U2nyEJqIBMwESq3TtY9hE,9069
|
4
4
|
bitwarden_workflow_linter/cli.py,sha256=wgkK1MlVbo6Zx3f2CZZ_tkSWq_hdsGciHJA1knX6Yuw,1699
|
5
|
-
bitwarden_workflow_linter/default_actions.json,sha256=
|
5
|
+
bitwarden_workflow_linter/default_actions.json,sha256=hqbAs08CGQF41tzzBzpEcQAx1OMK-r7KgEdWEUXZUzU,12022
|
6
6
|
bitwarden_workflow_linter/default_settings.yaml,sha256=2VwOcB0g3v4A2Kt2UgGFM0TSpfd6S0oNA0SkTa5tGJA,576
|
7
7
|
bitwarden_workflow_linter/lint.py,sha256=RDHv5jGeGCf5XIHE8jyqQET3-cFykl7223SQVS4Q3pg,5525
|
8
8
|
bitwarden_workflow_linter/load.py,sha256=Ece2bwSSYeQ1xQQEjjqY6DlCkwznFYLG56VW_VTxU4E,4472
|
@@ -10,7 +10,7 @@ bitwarden_workflow_linter/rule.py,sha256=Qb60JiUDAWN3ayrMGoSbbDCSFmw-ql8djzAkxIS
|
|
10
10
|
bitwarden_workflow_linter/utils.py,sha256=9WO3T9w9vKAow_xR6JDz2MvdMXKExV18AzucF0vh67s,4695
|
11
11
|
bitwarden_workflow_linter/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
bitwarden_workflow_linter/models/job.py,sha256=nBK7_VYu6RRST7WLtdLsoRErl5j4Er8W9hCw9XlSECk,2043
|
13
|
-
bitwarden_workflow_linter/models/step.py,sha256=
|
13
|
+
bitwarden_workflow_linter/models/step.py,sha256=j81iWYWcNI9x55n1MOR0N6ogKaQ_4-CKu9LnI_fwEOE,1814
|
14
14
|
bitwarden_workflow_linter/models/workflow.py,sha256=MkqvIY4JX2eWFODNTodS_l4I8uUq08WCHy3C4kYcL0s,1395
|
15
15
|
bitwarden_workflow_linter/rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
bitwarden_workflow_linter/rules/job_environment_prefix.py,sha256=sY1cBU5AeBHWSyun7gwnoS0ycRyBMjjVo_2lvanBj7U,2612
|
@@ -20,8 +20,8 @@ bitwarden_workflow_linter/rules/pinned_job_runner.py,sha256=Dm6_sdPX0yFMji_y2LMF
|
|
20
20
|
bitwarden_workflow_linter/rules/step_approved.py,sha256=6XuYoasw2ME8vQu5G0ZygUSi7X5amLLWeXH81cqvKv8,3159
|
21
21
|
bitwarden_workflow_linter/rules/step_pinned.py,sha256=fyqBjarR0UNQ6tU_ja0ZOi2afP942BMqOz5nU_yKzmw,3413
|
22
22
|
bitwarden_workflow_linter/rules/underscore_outputs.py,sha256=w8pP1dTJEC9I2X5fQIAHDAEiaNP1xMhb4kPiF-dn8U0,4131
|
23
|
-
bitwarden_workflow_linter-0.4.
|
24
|
-
bitwarden_workflow_linter-0.4.
|
25
|
-
bitwarden_workflow_linter-0.4.
|
26
|
-
bitwarden_workflow_linter-0.4.
|
27
|
-
bitwarden_workflow_linter-0.4.
|
23
|
+
bitwarden_workflow_linter-0.4.6.dist-info/METADATA,sha256=LePrSQB5F-E9EVIS-ZSdpGwcI9Ekgqi6ASZ8vpfl4HQ,6173
|
24
|
+
bitwarden_workflow_linter-0.4.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
25
|
+
bitwarden_workflow_linter-0.4.6.dist-info/entry_points.txt,sha256=SA_yF9CwL4VMUvdcmCd7k9rjsQNzfeOUBuDnMnaO8QQ,60
|
26
|
+
bitwarden_workflow_linter-0.4.6.dist-info/licenses/LICENSE.txt,sha256=uY-7N9tbI7xc_c0WeTIGpacSCnsB91N05eCIg3bkaRw,35140
|
27
|
+
bitwarden_workflow_linter-0.4.6.dist-info/RECORD,,
|
{bitwarden_workflow_linter-0.4.4.dist-info → bitwarden_workflow_linter-0.4.6.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|