Skip to content

Instantly share code, notes, and snippets.

@rngadam
Created December 5, 2023 10:54
Show Gist options
  • Save rngadam/96a1c5f0f7c8489ff5dab0d269b201dc to your computer and use it in GitHub Desktop.
Save rngadam/96a1c5f0f7c8489ff5dab0d269b201dc to your computer and use it in GitHub Desktop.
yamllint
@rngadam ➜ /workspaces/github-workflows (main) $ pip install yamllint
Collecting yamllint
Downloading yamllint-1.33.0-py3-none-any.whl.metadata (4.2 kB)
Collecting pathspec>=0.5.3 (from yamllint)
Downloading pathspec-0.11.2-py3-none-any.whl.metadata (19 kB)
Requirement already satisfied: pyyaml in /home/codespace/.local/lib/python3.10/site-packages (from yamllint) (6.0.1)
Downloading yamllint-1.33.0-py3-none-any.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 2.2 MB/s eta 0:00:00
Downloading pathspec-0.11.2-py3-none-any.whl (29 kB)
Installing collected packages: pathspec, yamllint
Successfully installed pathspec-0.11.2 yamllint-1.33.0
@rngadam ➜ /workspaces/github-workflows (main) $ yamllint .
./.linelint.yml
2:1 warning missing document start "---" (document-start)
./.github/workflows/workflow-lint-test-node.yml
1:1 warning missing document start "---" (document-start)
3:1 warning truthy value should be one of [false, true] (truthy)
8:7 error wrong indentation: expected 8 but found 6 (indentation)
11:9 error wrong indentation: expected 10 but found 8 (indentation)
15:13 error wrong indentation: expected 14 but found 12 (indentation)
./.github/workflows/workflow-gh-pages-deployment.yml
1:1 warning missing document start "---" (document-start)
3:1 warning truthy value should be one of [false, true] (truthy)
5:7 error wrong indentation: expected 8 but found 6 (indentation)
6:9 error wrong indentation: expected 10 but found 8 (indentation)
7:11 error wrong indentation: expected 12 but found 10 (indentation)
10:11 error wrong indentation: expected 12 but found 10 (indentation)
13:11 error wrong indentation: expected 12 but found 10 (indentation)
16:11 error wrong indentation: expected 12 but found 10 (indentation)
20:11 error wrong indentation: expected 12 but found 10 (indentation)
25:3 error wrong indentation: expected 4 but found 2 (indentation)
28:3 error wrong indentation: expected 4 but found 2 (indentation)
29:5 error wrong indentation: expected 6 but found 4 (indentation)
31:7 error wrong indentation: expected 8 but found 6 (indentation)
38:5 error wrong indentation: expected 8 but found 4 (indentation)
43:9 error wrong indentation: expected 10 but found 8 (indentation)
55:9 error wrong indentation: expected 10 but found 8 (indentation)
60:9 error wrong indentation: expected 10 but found 8 (indentation)
./.github/workflows/workflow-build-container.yml
1:1 warning missing document start "---" (document-start)
3:1 warning truthy value should be one of [false, true] (truthy)
24:1 error trailing spaces (trailing-spaces)
27:1 error trailing spaces (trailing-spaces)
31:1 error trailing spaces (trailing-spaces)
40:1 error trailing spaces (trailing-spaces)
49:81 error line too long (138 > 80 characters) (line-length)
52:1 error trailing spaces (trailing-spaces)
./.github/workflows/workflow-vercel-deployment.yml
1:1 warning missing document start "---" (document-start)
4:1 error too many blank lines (3 > 2) (empty-lines)
5:1 warning truthy value should be one of [false, true] (truthy)
24:5 error wrong indentation: expected 2 but found 4 (indentation)
36:81 error line too long (88 > 80 characters) (line-length)
40:81 error line too long (113 > 80 characters) (line-length)
42:81 error line too long (151 > 80 characters) (line-length)
45:81 error line too long (82 > 80 characters) (line-length)
48:13 error wrong indentation: expected 10 but found 12 (indentation)
48:81 error line too long (130 > 80 characters) (line-length)
./.github/workflows/workflow-deploy-gcp.yml
1:1 warning missing document start "---" (document-start)
3:1 warning truthy value should be one of [false, true] (truthy)
23:81 error line too long (94 > 80 characters) (line-length)
26:81 error line too long (124 > 80 characters) (line-length)
27:81 error line too long (139 > 80 characters) (line-length)
28:81 error line too long (114 > 80 characters) (line-length)
./.github/workflows/workflow-build-push-container-azure.yml
1:1 warning missing document start "---" (document-start)
3:1 warning truthy value should be one of [false, true] (truthy)
24:1 error trailing spaces (trailing-spaces)
27:1 error trailing spaces (trailing-spaces)
31:1 error trailing spaces (trailing-spaces)
40:1 error trailing spaces (trailing-spaces)
47:81 error line too long (91 > 80 characters) (line-length)
50:1 error trailing spaces (trailing-spaces)
./.github/workflows/workflow-markdown-dead-link-check.yml
1:1 warning missing document start "---" (document-start)
3:1 warning truthy value should be one of [false, true] (truthy)
11:5 error wrong indentation: expected 6 but found 4 (indentation)
./.github/workflows/workflow-repo-standards-validation.yml
1:1 warning missing document start "---" (document-start)
3:1 warning truthy value should be one of [false, true] (truthy)
10:5 error wrong indentation: expected 6 but found 4 (indentation)
17:81 error line too long (119 > 80 characters) (line-length)
30:20 warning too few spaces before comment (comments)
40:81 error line too long (90 > 80 characters) (line-length)
42:20 warning too few spaces before comment (comments)
58:81 error line too long (85 > 80 characters) (line-length)
64:20 warning too few spaces before comment (comments)
74:81 error line too long (86 > 80 characters) (line-length)
76:20 warning too few spaces before comment (comments)
91:81 error line too long (95 > 80 characters) (line-length)
93:81 error line too long (94 > 80 characters) (line-length)
96:20 warning too few spaces before comment (comments)
111:81 error line too long (96 > 80 characters) (line-length)
113:81 error line too long (98 > 80 characters) (line-length)
116:20 warning too few spaces before comment (comments)
121:20 warning too few spaces before comment (comments)
./.github/workflows/workflow-lint-test-python.yml
1:1 warning missing document start "---" (document-start)
3:1 warning truthy value should be one of [false, true] (truthy)
7:3 error wrong indentation: expected 4 but found 2 (indentation)
8:5 error wrong indentation: expected 6 but found 4 (indentation)
11:5 error wrong indentation: expected 8 but found 4 (indentation)
15:9 error wrong indentation: expected 10 but found 8 (indentation)
25:81 error line too long (83 > 80 characters) (line-length)
32:9 error wrong indentation: expected 10 but found 8 (indentation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment