GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Consistently format YAML and add CI check by mbg · Pull Request #4280 · github/codeql-action Conversation
|
| File | Description |
|---|---|
| upload-sarif/action.yml | Normalizes YAML quoting. |
| tsconfig.json | Excludes the Prettier configuration from compilation. |
| tests/multi-language-repo/codeql-qlpacks/python-qlpack/qlpack.yml | Adds a final newline. |
| tests/multi-language-repo/codeql-qlpacks/javascript-qlpack/qlpack.yml | Adds a final newline. |
| tests/multi-language-repo/codeql-qlpacks/java-qlpack/qlpack.yml | Adds a final newline. |
| tests/multi-language-repo/codeql-qlpacks/go-qlpack/qlpack.yml | Adds a final newline. |
| tests/multi-language-repo/codeql-qlpacks/csharp-qlpack/qlpack.yml | Adds a final newline. |
| tests/multi-language-repo/codeql-qlpacks/cpp-qlpack/qlpack.yml | Adds a final newline. |
| tests/multi-language-repo/codeql-qlpacks/complex-python-qlpack/qlpack.yml | Adds a final newline. |
| tests/multi-language-repo/codeql-qlpacks/complex-javascript-qlpack/qlpack.yml | Adds a final newline. |
| tests/multi-language-repo/.github/codeql/custom-queries.yml | Aligns comments with query entries. |
| tests/multi-language-repo/.github/codeql/codeql-config-query-filters3.yml | Normalizes indentation and spacing. |
| tests/multi-language-repo/.github/codeql/codeql-config-query-filters2.yml | Normalizes filter indentation. |
| tests/multi-language-repo/.github/codeql/codeql-config-query-filters1.yml | Normalizes filter indentation. |
| src/testdata/pr-diff-range.yml | Formats the diff-range fixture. |
| setup-codeql/action.yml | Normalizes YAML quoting. |
| resolve-environment/action.yml | Normalizes YAML quoting. |
| prettier.config.mts | Sets the formatter’s print width. |
| pr-checks/update-release-branch.ts | Imports extracted command helpers. |
| pr-checks/sync.ts | Uses double quotes in generated YAML. |
| pr-checks/config.ts | Exports shared repository paths. |
| pr-checks/command.ts | Houses shared command and Git helpers. |
| pr-checks/checks/upload-sarif.yml | Normalizes input quoting. |
| pr-checks/checks/upload-ref-sha-input.yml | Normalizes input quoting. |
| pr-checks/checks/overlay-init-fallback.yml | Normalizes inline-comment spacing. |
| pr-checks/checks/init-with-registries.yml | Normalizes block-scalar indentation. |
| pr-checks/checks/analyze-ref-input.yml | Normalizes input quoting. |
| pr-checks/check-unchanged.ts | Adds shared JavaScript and YAML verification. |
| package.json | Adds Prettier and the formatting command. |
| package-lock.json | Records the Prettier dependency update. |
| init/action.yml | Normalizes YAML quoting. |
| eslint.config.mjs | Excludes the Prettier configuration from linting. |
| autobuild/action.yml | Normalizes YAML quoting. |
| action.yml | Normalizes stub-action quoting. |
| .vscode/settings.json | Configures YAML formatting in VS Code. |
| .github/workflows/update-supported-enterprise-server-versions.yml | Normalizes cache-input quoting. |
| .github/workflows/update-release-branch.yml | Normalizes indentation and comment spacing. |
| .github/workflows/update-bundle.yml | Normalizes YAML quoting. |
| .github/workflows/test-codeql-bundle-all.yml | Normalizes indentation and quoting. |
| .github/workflows/script/check-js.sh | Removes the replaced shell checker. |
| .github/workflows/rebuild.yml | Normalizes cache-input quoting. |
| .github/workflows/query-filters.yml | Normalizes indentation, quoting, and spacing. |
| .github/workflows/python312-windows.yml | Normalizes indentation and schedule quoting. |
| .github/workflows/publish-immutable-action.yml | Normalizes name and tag-pattern quoting. |
| .github/workflows/pr-checks.yml | Invokes the TypeScript checker for both formats. |
| .github/workflows/post-release-mergeback.yml | Normalizes quoting and comment spacing. |
| .github/workflows/codescanning-config-cli.yml | Normalizes indentation and quoting. |
| .github/workflows/codeql.yml | Normalizes indentation and matrix formatting. |
| .github/ISSUE_TEMPLATE/config.yml | Removes trailing whitespace. |
| .github/actions/release-initialise/action.yml | Normalizes quoting and spacing. |
| .github/actions/release-branches/action.yml | Normalizes metadata quoting. |
| .github/actions/query-filter-test/action.yml | Removes extra input spacing. |
| .github/actions/check-codescanning-config/action.yml | Normalizes indentation and quoting. |
| .editorconfig | Adds a YAML indentation section. |
Review effort: Balanced (auto)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
40a548c to
fa95e87
Compare
fa95e87 to
fab591c
Compare
There was an error while loading. Please reload this page.
| const yamlStr = yaml.stringify(workflowDoc, { | ||
| aliasDuplicateObjects: false, | ||
| singleQuote: true, | ||
| singleQuote: false, | ||
| lineWidth: 0, | ||
| }); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Is it worth running this through prettier.format?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Maybe, but as far as I can tell the formatting that comes out of here and the prettier expectations are fairly well aligned. We could look at doing this if we find that it's a problem in the future.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.