Repository navigation
Add Action and template inputs for strict, transport, and report - #16
Merged
Merged
Conversation
Optional wrapper inputs with defaults that keep the current CLI invocation unchanged. report is a directory (lint.html/diff.html). The installed CLI is probed for a requested flag before lint or diff run, so a 0.3.0-preview pin fails fast instead of with an unrecognized option. Artifact upload stays in the calling workflow.
The wrapper only writes HTML on exit 0 or 1. If a leftover lint.html or diff.html is already in the report directory, do not treat that file as a report from this run.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
strict,transportandreportinputs to the GitHub Action and the Azure Pipelines template.strict: passes--stricttolinttransport: passes--transport(only withhttp-url)report: a directory; writeslint.html/diff.htmlwith--report, setslint-report/diff-reportoutputs, and uploads them as an artifact on GitHubDefaults keep the exact same command lines as before.
reportchecks the CLI help first and fails fast with a clear message if the installed version has no--report. Report outputs stay empty when a check exits 2, so stale HTML is never published.CI gets an extra dogfood step on Ubuntu and Windows that uses all three inputs and checks the HTML.